11 2013 档案
摘要://--------------------------------------------------------------------//// ICMP(Ping)扫描 //// Rrouned ////--------------------------------------------------------------------//#include "stdio.h"#include "Winsock2.h"#pragma comment( lib, "ws2_32.lib" ) ;typedef struct IpH
阅读全文
摘要:简陋的第一个类代码 1 class man: 2 #类成员 3 name = '' 4 age =0 5 #方法,第一个参数必须得是self 6 def say(self,word="hello"): 7 print(word) 8 9 Li...
阅读全文
摘要:1 #在python3中只有urllib一个库,这里面集成了原来的urllib和urllib2 2 import urllib.request 3 4 #定义一个request对象,传入一个url完整地址,并用Request函数。 5 request = urllib.request.Request("http://www.baidu.com") 6 7 #打开url,返回response对象 8 response = urllib.request.urlopen(request) 9 10 #response对象和文件差不多,需要先读一下,再解码11 print(resp
阅读全文
摘要:1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 /*先声明一些Debug消息处理函数供调用*/ 8 void OnProcessCreated(const CREATE_PROCESS_DEBUG_INFO*); 9 void OnThreadCreated(const CREATE_THREAD_DEBUG_INFO*); 10 void OnException(const EXCEPTION_DEBUG_INFO*); 11 void OnProcessExited(const EXI...
阅读全文
摘要:置换密码(125)(3)(4687)(125)表示:把位置1的数字/字母和位置2的数字/字母对换位置 把位置2的数字/字母和位置5的数字/字母对换位置 把位置5的数字/字母和位置1的数字/字母对换位置列置换密码明文p按照长度m分行写,每一行做一次置换密码周期置换密码明文p按照长度m分段 每一段做一次置换密码
阅读全文
摘要:/************************************************************************//* 域名到IP的转换 *//************************************************************************//#include #include #pragma comment(lib,"ws2_32.lib")const char str[20]={0};char *hos...
阅读全文
摘要:/************************************************************************//* 域名到IP的转换 *//************************************************************************//#include #include #pragma comment(lib,"ws2_32.lib")const char str[20]={0};char *hos...
阅读全文
摘要:Battering Ram: This uses a single set of payloads. It iterates through the payloads, and inserts the same payload into all of the defined positions at once. This attack type is useful where an attack requires the same input to be inserted in multiple places within the HTTP request (e.g. a username w
阅读全文
摘要:Pitchfork: This uses multiple payload sets. There is a different payload set for each defined position (up to a maximum of 8). The attack iterates through all payload sets simultaneously, and inserts one payload into each defined position. I.e., the first request will insert the first payload from p
阅读全文

浙公网安备 33010602011771号