Sunday, 1 April 2012

Random tips and tricks

Runas without domain trust:
runas /user:custdomain\account /netonly cmd


Fiddler NTLM Auth:
Under OnBeforeRequest: 

oSession.oFlags["x-AutoAuth"]="DOMAIN\\Username:Password";

ssh sharing connection in linux (avoid re-typing the password to connect to the same server again by leveraging existing connection:


Modify ~/.ssh/config or /etc/ssh/ssh_config:

ControlPath ~/.ssh/control-%r@%h:%p
ControlMaster auto
ControlPersist 1



No comments:

Post a Comment