Few Bash scripts 06-24-2011, 07:01 PM
#1
Hi!
I will update this thread once in a while, feel free to contribute!!! I will post here some bash scripts that I use to make my life easear
How to use them:
Copy the code into a new text file. Save it under any name you want. Then right click => Properties => Permissions => And check the "Allow executing file as program" check box.
To run the file, simply double-click it, and choose: "Run in terminal" to edit it, simply choose: "Display"
Update:
Updates and upgrades your system.
Change MAC adress:
You need "macchanger" package to run this script sucesfully.
Also you might want to edit the: "wifi0" to your own interface, you can find it out by typing: "ifconfig" into the terminal.
I use this script to start wifite, code for this is under the spoiler:
Yo can take out the line: "cd "Pass Lists" or edit it, so the script gets to directory, where is your wifite.
I will update this thread once in a while, feel free to contribute!!! I will post here some bash scripts that I use to make my life easear

How to use them:
Copy the code into a new text file. Save it under any name you want. Then right click => Properties => Permissions => And check the "Allow executing file as program" check box.
To run the file, simply double-click it, and choose: "Run in terminal" to edit it, simply choose: "Display"
Update:
Code:
sudo apt-get update
apt-get dist-upgrade
sudo apt-get -f install
sudo apt-get upgrade
sudo apt-get autoremoveChange MAC adress:
Code:
echo Changing MAC address...
sudo ifconfig wifi0 down
sudo macchanger -r wifi0
sudo ifconfig wifi0 upAlso you might want to edit the: "wifi0" to your own interface, you can find it out by typing: "ifconfig" into the terminal.
I use this script to start wifite, code for this is under the spoiler:
Spoiler:
Code:
echo Changing MAC address...
sudo ifconfig wifi0 down
sudo macchanger -r wifi0
sudo ifconfig wifi0 up
echo Starting WiFite...
clear
cd "Pass Lists"
sudo ./wifite.pyHave a great day!!!
Staff will never ever ask you for your personal information.
We know everything about you anyway.
We know everything about you anyway.
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)