Skip to content

Commit

Permalink
Create tor.newnym.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nyxnor committed Jun 13, 2021
1 parent 0e9bd8f commit f25f6a0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/standalone/tor.newnym.py
@@ -0,0 +1,6 @@
from stem import Signal
from stem.control import Controller

with Controller.from_port(port=9051) as controller:
controller.authenticate()
controller.signal(Signal.NEWNYM)

0 comments on commit f25f6a0

Please sign in to comment.