How to make an wifi Password cracker with Apple Script - macos

a friend forgot his wifi-Password and the Question is, how to crack the password with apple script! Is there an easy way to do it with a script? He doesn't want to reset his Wifi router...
Thanks for your answers!!

You can't. Unless the router of your friend is like ten to fifteen years old, apple script can only enter a random code of characters and numbers, and even if you had the code you need it wouldn't work because the router won't accept any more guesses after a specific amount (normally about 10).

Related

Auto enter items into 3rd party website

So I have to scan and manually enter 1200 scanner number every week for inventory. The process goes in this order:
Open Website < Click text box < Enter numbers < hit submit < wait 20 seconds < hit submit again (it makes me confirm i entered right) < Wait another 20 seconds.
At this point, the page refreshes, and IO start over at the Click text box part.
I already converted the numbers to barcodes and scan them instead of typing, I also use 2 screens with 8 open windows to make it a bit faster.
But I was wondering if there was a batch file or another way to automate the process?
Even with the scanner, and 8 open windows, it takes 4 hours roughly to do them all.
I have been searching on google for a few days, and decided to ask here since most the pages i read go back to this site.
http://www.autohotkey.com/
Awesome macro software. Very flexible for a macro and easy language to learn.
Try searching for automated keyboard/mouse macro software. Never used it, just a tip.
This question appears to be similar on SuperUser: Redirecting input from file to command-line program
It appears to be effective for telnet sessions - not sure about http sessions. You might look into TCL and Expect as options though.

Interact with serial device with shell scripting

I have a serial usb device that is connected to a linux box and it works fine with serial communication programs, such as minicom.
For instance, within that program, I send the string "V" and I get back an answer: "UBW FW D Version 1.4.3".
Now, I'd like to do a shell script that could do the same, in order to test variables. I investigated the possibility to use minicom without being "interactive" but it seems is not possible. I also tried the obvious "echo V > /dev/ttyACM0" but had no luck as well.
Any idea of how can I send and receive strings to/from a serial device in such way I can use the received data in a shell script?
Thanks
In the olden days of modems, we would use the program 'expect' to send and receive data from the serial line. This doesn't exactly solve your problem, but might get you some of the way there.
Have a look at Use expect in bash script to provide password to SSH command
The atinout program does exactly what you are asking for. Example:
$ echo AT | atinout - /dev/ttyACM0 -
AT
OK
$
Now, from you example command and response, I see that your "modem" seems to able to configure or modify to not return the OK Final Result Code, and atinout absolutely needs that for its operation, so make sure the UBW behaves properly.

bash script simple operations

I'm very very new to bash scripting and just wanted to have a little play around.
Ive created a file containing 2 IP addresses and 2 netmasks so far I've got the code to print the addresses and netmasks from that file and work out the addresses network number, I am just wanting to add more code which simply works out how many hosts are on that network and how many other networks share the same netmask.
I know how to do this on paper, pretty simple.
Very basic and I am aware, just want some simple pointers in bash.
Try doing this using ipcalc in a shell :

Unix/OS X command to list clients connected to network

I know there is a command to list all the clients that are connected to the same network I'm connected to and get basic information (IP, MAC...)
I thought of writing it down the last time I used it but probably figured I'd remember it. Yeah, right.
Are you looking for rwho?

In KDE4, how can I automatically tell which “Desktop” a Konsole terminal is in?

I was looking for this and found a question and answer for KDE3; I figured more people will be interested in the answer for KDE4 as time passes (posting here just so I can also post the answer...)
qdbus org.kde.kwin /KWin org.kde.KWin.currentDesktop prints the number of the current virtual desktop.

Resources