dirkjanm / ROADtools

A collection of Azure AD/Entra tools for offensive and defensive security purposes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proxy option enhancement

realspookysocks opened this issue · comments

The proxy option currently expects an http/https proxy. In practice, I've found what I need is a socks proxy so I can tunnel my connection through an environment to get around conditional access policies.

To do that, I changed lines 62 and 63 in file /roadtools/roadtx/roadtools/roadtx/selenium.py to...

'http': f'socks5://{self.proxy}',
'https': f'socks5://{self.proxy}',

this is now supported in the latest version on git via the --proxy-type argument. example: roadtx -p 127.0.0.1:5000 -pt socks5 gettokens -u bla@domain.com -p password