Recently, I used the wifi phisher tool in Kali Linux. when I enter the number of AP in the list, I get the following trace in the terminal: Any suggestions on this? Answer You can check your issues in sophron github, so you can try this changes in your wifiphisher.py: Change to python2 in the header code. Cha…
Tag: linux
`gcloud compute copy-files`: permission denied when copying files
I’m having a hard time copying files over to my Google Compute Engine. I am using an Ubuntu server on Google Compute Engine. I’m doing this from my OS X terminal and I am already authorized using gcloud. Answer insert root@ before the instance name:
Print previous line if condition is met
I would like to grep a word and then find the second column in the line and check if it is bigger than a value. Is yes, I want to print the previous line. Ex: Input file Output Now, I want to search for BB and if the second column (2 or 0.1) in that line is bigger than 1,
eclipse CDT /usr/bin/ld: cannot find -l
this is my code : i installed libimobiledevice library and this is but why in configure CDT to use shared library like picture CDT error ? /usr/bin/ld: cannot find -llibimobiledevice Answer Under libraries add imobiledevice instead of libimobiledevice. When you use -lx, linker searches for libx.so. In your ca…
Compiling a program with limited library access
i want to compile a C program with gcc and glibc(or any other c library) but i want to limit the program access to certain functions for example program should not be compiled if it uses sockets or signal handling functions. any idea how i could do this?? by the way i want to use this on a simple programming
Equivalent for Linux’s “screen”
Is there anything similiar to Linux’s “screen”? What I want to do is launch console application created in Java. Then let’s say I want to execute command to the running application. For example I want to tell it to exit so I’ll tell it command ‘exit’. On Linux I can o…
Ubuntu – trying to install Python Couchbase lib – “libcouchbase/couchbase.h: No such file or directory”
All, I’m trying to install the Python Couchbase lib in my Linux server, but it’s failing with “libcouchbase/couchbase.h: No such file or directory”. I also cannot find which package contains the couchbase.h file. How can I fix this? ubuntu@ip-172-31-17-167:~$ sudo easy_install couchbas…
Linux “screen” does not write results
I have an Ubuntu system running on a remote computer that I use for computations. On other machines whenever I want to run some time-consuming program I type: and execute my program in the resulting screen, say: The program in question writes some results to an output file. This works fine on other machines. …
Bash oneliner to rename filenames
I often would like to easily rename a bunch of files. I always have to struggle with find, grep, xargs and sed to simply to the job. I would like to understand how I can do a better job using PCRE Here my files: I would rename the dot files properly as I can do with this oneliner: However I
USB Dongle Recognition in Android – Beaglebone
Issue : Some of the Huawei USB Dongles not recognized by Android JellyBean4.1.2 in Beaglebone. In Detail : I am working with BeagleBone running on Android JellyBean4.1.2 . Huawei – E1731 [Locked] , Huawei – E303D [Locked] are working fine in this platform. Huawei E303F , Huawei E303F (Both Factory…