| GNU Linux Information and discussions about GNU Linux. |
|
#1
| ||||
| ||||
| Wifi script
Fixed idk why it was doing that b4 with the lines Just posting this up for anyone that can use it. Script to join wifi spots if your not using some kinda network manager. Made it cuz I got tired of typing it. Good for also having multiple APs you join and wont have to keep typing it. Code: #!/bin/bash
clear
function ROOT()
{
if [ $(whoami) != "root"]
then
echo "Please run as root"
read -p "Press enter to quit"
exit
else
WIFI_JOIN
fi
}
function WIFI_JOIN()
{
clear echo Joining AP"
iwconfig wlan0 essid "NETWORKNAMEINQUOTES"
dhclient wlan0
exit
}
ROOT
Last edited by Tsukasa; 27th September 2009 at 20:33. |
|
#2
| ||||
| ||||
| Re: Wifi script
Nice script, can you please add some new lines? :-) (I'm not going to do it for you xD)
__________________ ![]() Quote:
|
|
#3
| ||||
| ||||
| Re: Wifi script
fixed xD idk what was up with that
|
|
#4
| ||||
| ||||
| Re: Wifi script
Nice, it's a bug when copy-pasting from Linux perhaps Mac too, directly into Winbl0wz or perhaps some sites.. (I call it the newline bug lol xD) Anyway: Is this a bug or is it ment to be like that? The {' ? Code: function WIFI_JOIN()
{'
__________________ ![]() Quote:
|
|
#5
| ||||
| ||||
| Re: Wifi script
lol no fixed again. I pressed the wrong ket there xD. I swtiched back into frhack and saw I miss spelled something so I want to edit and save and it changed all the quotes to the quote code instead. So logged back to winbl0ws to fix again and i guess i pressed the wrong button xD
Last edited by Tsukasa; 27th September 2009 at 20:37. |
|
#6
| ||||
| ||||
| Re: Wifi script
I'm teh code-audit0r :-O Actually I'm just being an 455 about code if I can actually read it xD Thanks for fixing it though :-) (and no, don't ask me questions about coding I suck at it xD)
__________________ ![]() Quote:
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Anti-Wifi paint | Rorok | Security News and Feeds | 4 | 5th October 2009 11:09 |
| network map script | Tsukasa | General Programming Discussions | 2 | 27th August 2009 15:19 |
| WEP AutoCracking Script | HitThemLow | Hacking Tools & Utilities | 3 | 19th July 2009 19:28 |
| script kiddie | TheXero | General Hacking Discussions | 11 | 22nd May 2009 17:13 |
| [Discussion] Injectable Wifi Cards | DeMoN | General Hacking Discussions | 0 | 7th September 2008 07:55 |