Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
src /
linux-headers-4.15.0-213 /
samples /
pktgen /
[ HOME SHELL ]
Name
Size
Permission
Action
functions.sh
4.06
KB
-rw-r--r--
parameters.sh
2.89
KB
-rw-r--r--
pktgen_bench_xmit_mode_netif_r...
2.72
KB
-rwxr-xr-x
pktgen_bench_xmit_mode_queue_x...
1.92
KB
-rwxr-xr-x
pktgen_sample01_simple.sh
1.94
KB
-rwxr-xr-x
pktgen_sample02_multiqueue.sh
2.23
KB
-rwxr-xr-x
pktgen_sample03_burst_single_f...
2.63
KB
-rwxr-xr-x
pktgen_sample04_many_flows.sh
2.55
KB
-rwxr-xr-x
pktgen_sample05_flow_per_threa...
2.31
KB
-rwxr-xr-x
pktgen_sample06_numa_awared_qu...
3.05
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : parameters.sh
# # SPDX-License-Identifier: GPL-2.0 # Common parameter parsing for pktgen scripts # function usage() { echo "" echo "Usage: $0 [-vx] -i ethX" echo " -i : (\$DEV) output interface/device (required)" echo " -s : (\$PKT_SIZE) packet size" echo " -d : (\$DEST_IP) destination IP" echo " -m : (\$DST_MAC) destination MAC-addr" echo " -t : (\$THREADS) threads to start" echo " -f : (\$F_THREAD) index of first thread (zero indexed CPU number)" echo " -c : (\$SKB_CLONE) SKB clones send before alloc new SKB" echo " -n : (\$COUNT) num messages to send per thread, 0 means indefinitely" echo " -b : (\$BURST) HW level bursting of SKBs" echo " -v : (\$VERBOSE) verbose" echo " -x : (\$DEBUG) debug" echo " -6 : (\$IP6) IPv6" echo "" } ## --- Parse command line arguments / parameters --- ## echo "Commandline options:" while getopts "s:i:d:m:f:t:c:n:b:vxh6" option; do case $option in i) # interface export DEV=$OPTARG info "Output device set to: DEV=$DEV" ;; s) export PKT_SIZE=$OPTARG info "Packet size set to: PKT_SIZE=$PKT_SIZE bytes" ;; d) # destination IP export DEST_IP=$OPTARG info "Destination IP set to: DEST_IP=$DEST_IP" ;; m) # MAC export DST_MAC=$OPTARG info "Destination MAC set to: DST_MAC=$DST_MAC" ;; f) export F_THREAD=$OPTARG info "Index of first thread (zero indexed CPU number): $F_THREAD" ;; t) export THREADS=$OPTARG info "Number of threads to start: $THREADS" ;; c) export CLONE_SKB=$OPTARG info "CLONE_SKB=$CLONE_SKB" ;; n) export COUNT=$OPTARG info "COUNT=$COUNT" ;; b) export BURST=$OPTARG info "SKB bursting: BURST=$BURST" ;; v) export VERBOSE=yes info "Verbose mode: VERBOSE=$VERBOSE" ;; x) export DEBUG=yes info "Debug mode: DEBUG=$DEBUG" ;; 6) export IP6=6 info "IP6: IP6=$IP6" ;; h|?|*) usage; err 2 "[ERROR] Unknown parameters!!!" esac done shift $(( $OPTIND - 1 )) if [ -z "$PKT_SIZE" ]; then # NIC adds 4 bytes CRC export PKT_SIZE=60 info "Default packet size set to: set to: $PKT_SIZE bytes" fi if [ -z "$F_THREAD" ]; then # First thread (F_THREAD) reference the zero indexed CPU number export F_THREAD=0 fi if [ -z "$THREADS" ]; then export THREADS=1 fi export L_THREAD=$(( THREADS + F_THREAD - 1 )) if [ -z "$DEV" ]; then usage err 2 "Please specify output device" fi if [ -z "$DST_MAC" ]; then warn "Missing destination MAC address" fi if [ -z "$DEST_IP" ]; then warn "Missing destination IP address" fi if [ ! -d /proc/net/pktgen ]; then info "Loading kernel module: pktgen" modprobe pktgen fi
Close