Shell Code Generator

Marco Ramilli
Date
10 February 2010
Read
Share
Today I wanna write a little shell code generator useful for embedding and coding shellcodes. Of course you may find more interesting this one (well-known shellcode generator), the following generator written in perl, is a very basic idea of what a shellcode generator does. Feel free to keep and to modify it.

#!/usr/bin/perl

# shellcode generator

print "shellcode: ";

$x1=;

my $data = "$x1";

chomp($data);

my @values = split(undef,$data);

foreach my $val (@values) {

chomp($val);

print 'x';

print unpack(H8,"$val");

}

print "n";

exit 0;

Marco Ramilli
Date
10 February 2010
Read
Share
← Go back
Latest Posts

i-SOON Data Leak: Key Points

Introduction i-SOON (上海安洵), a prominent contractor for various Chinese government agencies such […]

Date
26.02.2024
Duration
5 min
Text
Marco Ramilli

X Gold Badges: a new proliferating market

When I saw a threat actor hijacking the X account of Google's […]

Date
08.01.2024
Duration
5 min
Text
Marco Ramilli

Technical Data Sheet: LOCKBIT 3.0

LOCKBIT 3.0 is a notorious Ransomware Group that was first identified on […]

Date
20.12.2023
Duration
5 min
Text
Marco Ramilli
1 2 3 236
Back to Top
magnifier