GNU Linux Information and discussions about GNU Linux.

InterN0T Affiliates:
EvilZonepy1337

SirCapsAlot.NET

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 27th September 2009, 18:18
Tsukasa's Avatar
-=Ninja Pirate=-
 
Join Date: Jun 2008
Location: ::1
Posts: 491
Rep Power: 14
Reputation: 319
Tsukasa is a light in the darkTsukasa is a light in the darkTsukasa is a light in the darkTsukasa is a light in the dark
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
If it has a key then you need to also use the key/enc just man iwconfig Passphrase isn't supported yet with it you enter it in hex for example iwconfig essid key XXXX-XXXX-XXXX-XXXX or XXXXXXXX of you can enter it in as ASCII by using key s:ASCII

Last edited by Tsukasa; 27th September 2009 at 20:33.
Reply With Quote
  #2  
Old 27th September 2009, 18:28
MaXe's Avatar
Studying shellcode..
 
Join Date: Jun 2008
Location: Sweden - Ljusdal
Posts: 3,405
Blog Entries: 36
Rep Power: 10
Reputation: 198
MaXe has made his way up the systemMaXe has made his way up the system
Re: Wifi script

Nice script, can you please add some new lines? :-) (I'm not going to do it for you xD)
__________________

Quote:
Originally Posted by Norph
MaXe, I really doubt that you are able to browse ANY site more than 2 minutes before you start pwning it xD
Reply With Quote
  #3  
Old 27th September 2009, 18:52
Tsukasa's Avatar
-=Ninja Pirate=-
 
Join Date: Jun 2008
Location: ::1
Posts: 491
Rep Power: 14
Reputation: 319
Tsukasa is a light in the darkTsukasa is a light in the darkTsukasa is a light in the darkTsukasa is a light in the dark
Re: Wifi script

fixed xD idk what was up with that
Reply With Quote
  #4  
Old 27th September 2009, 20:27
MaXe's Avatar
Studying shellcode..
 
Join Date: Jun 2008
Location: Sweden - Ljusdal
Posts: 3,405
Blog Entries: 36
Rep Power: 10
Reputation: 198
MaXe has made his way up the systemMaXe has made his way up the system
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() 
{'
I understand the script perfectly (and I like that xD) but I don't understand what that char is doing after { :-S
__________________

Quote:
Originally Posted by Norph
MaXe, I really doubt that you are able to browse ANY site more than 2 minutes before you start pwning it xD
Reply With Quote
  #5  
Old 27th September 2009, 20:33
Tsukasa's Avatar
-=Ninja Pirate=-
 
Join Date: Jun 2008
Location: ::1
Posts: 491
Rep Power: 14
Reputation: 319
Tsukasa is a light in the darkTsukasa is a light in the darkTsukasa is a light in the darkTsukasa is a light in the dark
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.
Reply With Quote
  #6  
Old 28th September 2009, 12:14
MaXe's Avatar
Studying shellcode..
 
Join Date: Jun 2008
Location: Sweden - Ljusdal
Posts: 3,405
Blog Entries: 36
Rep Power: 10
Reputation: 198
MaXe has made his way up the systemMaXe has made his way up the system
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:
Originally Posted by Norph
MaXe, I really doubt that you are able to browse ANY site more than 2 minutes before you start pwning it xD
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On


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


All times are GMT +2. The time now is 13:55.
Copyright ©2007 - Forever, InterN0T & Teh Unkwon

Hosted by 1and1