esxgx

/etc/init.d/drcomd:

1 #!/bin/sh
2 #
3 # The environment is cleared before executing this script
4 # so the path must be reset
5 #
6 PATH=/usr/sbin:/sbin:/usr/bin:/bin:/usr/local/sbin:/usr/local/bin
7 export PATH
8 nohup drcomd > /dev/null 2>&1 &

 

/usr/local/sbin/drcomd:

1 #!/bin/sh
2 
3 while true; do
4     ping www.baidu.com -c1 > /dev/null 2>&1 || curl -d "DDDDD=xxx&upass=yyy&R1=0&R2=1&para=00&0MKKey=123456" http://a.b.c.d > /dev/null 2>&1
5     sleep 5
6 done

 

分类:

技术点:

相关文章:

  • 2022-01-30
  • 2021-08-11
  • 2022-03-09
  • 2021-07-07
  • 2021-12-24
  • 2021-11-22
  • 2022-02-08
  • 2022-01-22
猜你喜欢
  • 2018-05-09
  • 2022-01-30
  • 2021-10-30
  • 2021-07-17
  • 2022-02-09
  • 2022-02-09
  • 2022-02-01
相关资源
相似解决方案