Skip to content

Instantly share code, notes, and snippets.

View superteece's full-sized avatar

TC Johnson superteece

View GitHub Profile

Keybase proof

I hereby claim:

  • I am superteece on github.
  • I am tcjohnson (https://keybase.io/tcjohnson) on keybase.
  • I have a public key whose fingerprint is F40D 5748 D597 8D98 44F7 EE17 E6AD E630 9AEC B2AA

To claim this, I am signing this object:

@superteece
superteece / DCG614.asc
Last active August 23, 2017 18:28
DCG614@protonmail.com Public Key
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: OpenPGP.js v2.5.8
Comment: https://openpgpjs.org
xsBNBFmdHWABCACuH+WzpF+j2DzQOOF38inTS3KYxTQQIWJrWFb/lRoyPysx
YM6XaWP2Tm8ClDGdogYvP9aNon5PabHSKvBQn0GbPAT3Zzl/lVOMUQ+3LsHc
ioWd+lrzwdoT1RJj0g+b//KYMYiGExrQCQuzcLyatouw7yUujhr1c05vb3+Z
1w92cH2ckUPNWt2TtXDePyxSu8JiuqY4dLOXKWU6ADdDouZA5VW6TR6gTBJc
C1902FWr8IRAljWJo663kTkTpUAg5/eMAyw3aX1lOaGPRooMIz9VOcvD02PH
O2HXIijQIziOefw0t0PAI0lMZp3ZOLGtNQYxU7LeIHeom1dLp44RGGC7ABEB
<div class="form-group">
<input type="text" name="username" id="username" class="form-control input-md" placeholder="User Name" value="<?php if(isset($error)){ echo $_POST['username']; } ?>" tabindex="1">
</div>
@superteece
superteece / Caddyfile
Created December 28, 2015 21:09
Caddyfile
# Change localhost to the interface you want to listen on.
localhost:11013
tls cert.pem key.pem
proxy /api localhost:11015
proxy / localhost:11014 {
websocket
}
foreach ($item in Get-Process)
{
$procValidate = Get-Process $item.Name | select -Expand Path | select -Unique
Get-AuthenticodeSignature "$procValidate"
}
function validate
{
$procName = Read-Host "Enter the name of the process to validate: "
$procValidate = Get-Process $procName | format-list path
Get-AuthenticodeSignature $procValidate
}
#Tool for enumerating services
function list
{
Get-Process
}
function listbycomp
{
Clear-Host
$a = Read-Host "Type S to see the results in the shell or F to export the results to a CSV"
"Select a tool"
"1. List Running Processes"
"2. List Running Processes by Company"
""
$response = Read-Host "Selection: "
if ($response -eq 1)
{list}
elseif ($response -eq 2)
{listbycomp}
""
"Select a tool"
"1. List Running Processes"
"2. List Running Processes by Company"
""
$response = Read-Host "Selection: "
if ($response -eq 1)
{function list}
elseif ($response -eq 2)