Twenty Year Anniversary

sparc-write.c

sparc-write.c
Posted Apr 2, 2003
Authored by eSDee, netric | Site netric.org

Solaris Sparc shellcode that writes netric was here.

tags | shellcode
systems | solaris
MD5 | 262196f390d97ac4640bab80dae40664

sparc-write.c

Change Mirror Download
/* Solaris sparc shellcode by eSDee of Netric (www.netric.org)
* write(stdout,"netric was here\n", 16); exit();
*/

#include <stdio.h>

char
shellcode[]=

// write(stdout,"netric was here\n", 16);

"\x90\x10\x20\x01" // mov 1, %o0
"\x21\x1b\x99\x5d" // sethi %hi(0x6e657400), %l0
"\xa0\x14\x20\x72" // or %l0, 0x72, %l0 ! 0x6e657472
"\x23\x1a\x58\xc8" // sethi %hi(0x69632000), %l1
"\xa2\x14\x60\x77" // or %l1, 0x77, %l1 ! 0x69632077
"\x25\x18\x5c\xc8" // sethi %hi(0x61732000), %l2
"\xa4\x14\xa0\x68" // or %l2, 0x68, %l2 ! 0x61732068
"\x27\x19\x5c\x99" // sethi %hi(0x65726400), %l3
"\xa6\x14\xe1\x0a" // or %l3, 0x10a, %l3 ! 0x6572650a
"\x92\x23\xa0\x10" // sub %sp, 0x10, %o1
"\xe0\x3b\xbf\xf0" // std %l0, [ %sp + -16 ]
"\xe4\x3b\xbf\xf8" // std %l2, [ %sp + -8 ]
"\x94\x10\x20\x10" // mov 0x10, %o2
"\x82\x10\x20\x04" // mov 4, %g1
"\x91\xd0\x20\x08" // ta 8

// exit();

"\x82\x10\x20\x01" // mov 1, %g1
"\x91\xd0\x20\x08"; // ta 8


int
main()
{
void (*funct) ();
(long) funct = &shellcode;
funct();
}

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

September 2018

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    1 Files
  • 2
    Sep 2nd
    3 Files
  • 3
    Sep 3rd
    15 Files
  • 4
    Sep 4th
    15 Files
  • 5
    Sep 5th
    18 Files
  • 6
    Sep 6th
    18 Files
  • 7
    Sep 7th
    15 Files
  • 8
    Sep 8th
    2 Files
  • 9
    Sep 9th
    2 Files
  • 10
    Sep 10th
    16 Files
  • 11
    Sep 11th
    17 Files
  • 12
    Sep 12th
    15 Files
  • 13
    Sep 13th
    29 Files
  • 14
    Sep 14th
    21 Files
  • 15
    Sep 15th
    3 Files
  • 16
    Sep 16th
    1 Files
  • 17
    Sep 17th
    15 Files
  • 18
    Sep 18th
    16 Files
  • 19
    Sep 19th
    29 Files
  • 20
    Sep 20th
    18 Files
  • 21
    Sep 21st
    5 Files
  • 22
    Sep 22nd
    2 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2018 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close