MCPcopy
hub / github.com/trustedsec/social-engineer-toolkit / looper

Function looper

modules/google_analytics_attack.py:57–62  ·  view source on GitHub ↗
(params)

Source from the content-addressed store, hash-verified

55
56### looper - prompts for seconds to sleep, starts loop
57def looper(params):
58 secs = input("[*] Seconds between payload sends: ")
59 input("\nSending request every "+secs+" seconds. Use CTRL+C to terminate. Press <enter> to begin loop.")
60 while True:
61 send_spoof(params)
62 time.sleep(int(secs))
63
64### send_spoof - randomizes client id, then sends request to google service
65def send_spoof(params):

Callers 1

mainFunction · 0.85

Calls 2

inputFunction · 0.85
send_spoofFunction · 0.85

Tested by

no test coverage detected