403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.48
Web Server : Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12
System : Windows NT DESKTOP-3H4FHQJ 10.0 build 19045 (Windows 10) AMD64
User : win 10 ( 0)
PHP Version : 8.2.12
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  D:/xamppkk/php/extras/mibs/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : D:/xamppkk/php/extras/mibs/mibfetch
#!/bin/sh

# Usage: mibfetch [ -d outdir ] host directory rfc [mibs]
#
# If "rfc" contains a "." it is expected to be a complete file name,
# otherwise it is assumed to be just the rfc number.
# If "mibs" is specified, it is a ":" separated list of mibs to extract,
# otherwise all mibs are extracted.
#
# The script fetches the file from the givn directory on the given
# host, and then runs the file through smistrip to extract the mibs.

exact=0
verbose=

while getopts xvd: c
do
    case $c in
    d)	mdir="-d $OPTARG"
    	;;
    x)	exact=1
    	;;
    v)	verbose=-v
    	;;
    \?)	exit 2
    	;;
    esac
done

shift `expr $OPTIND - 1`

set -e

host=$1
dir=$2
rfc=$3

if [ $exact = 0 -a `echo $rfc | sed 's/\.//'` = $rfc ]; then
  file=rfc$rfc.txt
else
  file=$rfc
fi

if [ -n "$4" ]; then
  mibs="-m $4"
fi

# ncftpget -FV ftp://$host/$dir/$file
wget -O - -q -nv $host/$dir/$file | \
	tr -d \\r | \
	./smistrip $verbose -x .txt $mdir $mibs -

Youez - 2016 - github.com/yon3zu
LinuXploit