![]() |
|
Few Bash scripts - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Computers (https://sinister.ly/Forum-Computers) +--- Forum: Operating Systems (https://sinister.ly/Forum-Operating-Systems) +--- Thread: Few Bash scripts (/Thread-Few-Bash-scripts) |
Few Bash scripts - 1llusion - 06-24-2011 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: 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!!!
|