what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

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
SHA-256 | e3af7d99040def573ba17626a6c290811b8d7652264094ec8340fdf45dac57c5

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();
}
Login or Register to add favorites

File Archive:

November 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close