Cumfort

Mirai Botnet Golang Fix (ENJOY!!)

Sep 5th, 2017
1,950
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. Mirai botnet golang fix for educational purposes only!
  2.  
  3. ;New version goLang was released and there isn't a library for it yet so that's why you're getting the "go/src/github.com/go-sql-driver/mysql/utils.go:806: undefined: atomic.Value" error this is the fix.
  4.  
  5. sudo apt-get install curl git mercurial make binutils bison gcc build-essential -y
  6. bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
  7. gvm install go1.4
  8. gvm use go1.4 [--default]
  9. gvm install go1.4 -B
  10. gvm use go1.4
  11. export GOROOT_BOOTSTRAP=$GOROOT
  12. gvm install go1.5
  13. gvm use go1.5
  14. go get github.com/go-sql-driver/mysql
  15. go get github.com/mattn/go-shellwords
Advertisement
Add Comment
Please, Sign In to add comment