⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ip-packet-main.pl

📁 一个rst守护程序
💻 PL
字号:
#!/usr/bin/perl# IP-Packet -- The ultimative Packet Generator written in Perl## The Main Program Code################################################################### Last Update 30.08.2002## Programmed by Bastian Ballmann [ bytebeater@crazydj.de ]# http://www.crazydj.de ## Perl is phun!!! =)## This code is licensed under the GPL###[ Loading the modules ]###use Net::RawIP;    # Creating Raw packetsuse path::config;  # Path configurationuse path::hijack;  # Hijacking stuff###[ Creating and sending the packets ]###sub run{    my $cfg = config->new();    $cfg->set_opt(%config);    $packet = hijack::create_packet($cfg);# Sending the created packet over the wire	$packet->send(0, $config{'number'});###[ Print the result ]#### If the GUI version was loaded...if($top){$result = $top->Toplevel;$result->title('Result');$result->configure(background => 'black');$result->Label(text => "$config{'number'} packets were send over the wire...",		background => 'black',		foreground => 'green',		border => 0)->pack(pady => 10);$result->Button(text => 'Close',		background => 'black',		foreground => 'red',	        activebackground => 'black',	        activeforeground => 'red',		command => sub { $result->destroy })->pack();}else{print "$config{'number'} packetz were send over the wire...\n";}}1;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -