Cmd

From BHaFSec Pentesting Notes Wiki
Revision as of 02:58, 21 January 2016 by Illwill (talk | contribs) (Created page with "systeminfo | findstr /B /C:"OS Name" /C:"OS Version" == Firewall == netsh advfirewall show state netsh advfirewall show config netsh advfirewall set allprofiles state off n...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

systeminfo | findstr /B /C:"OS Name" /C:"OS Version"


Firewall

netsh advfirewall show state netsh advfirewall show config netsh advfirewall set allprofiles state off netsh advfirewall firewall add rule name="Exploit" dir=in action=allow program="C:\exploit.exe" enable=yes


Services

schtasks /query /fo LIST /v tasklist /SVC sc qc Spooler