Skip to content

Instantly share code, notes, and snippets.

(New-Object DirectoryServices.DirectorySearcher "(&(ObjectClass=user)(&(sAMAccountName=USERNAME_GOES_HERE)))").FindOne().Properties
(New-Object DirectoryServices.DirectorySearcher "ObjectClass=user").FindAll()
var endpointFinder=function(n){var r=new Array,t=function(n,o){if(!i(n)){var e,c=Object.keys(n);for(var f in c){var u=n[c[f]];if(null==u)return;o(u)?(e={Obj:n,Prop:c[f],val:u},r.push(e)):t(u,o)}}},i=function(n){return"string"==typeof n||n instanceof String},o=function(n){return("string"==typeof n||n instanceof String)&&n.length>1&&("/"==n[0]||n.toLowerCase().startsWith("http"))},e=function(n){try{var t=String(n);if(!t.includes("[native code]")&&t.startsWith("function"))return r.some(function(n,r,i){return t.includes(n.Prop)})}catch(n){}return!1},c={findUrls:function(){r=new Array;var n=Object.keys(window);for(var i in n){var e=window[n[i]];try{JSON.stringify(e)&&t(e,o)}catch(n){}}return c},dump:function(n){return console.log("***********************"),n?n(r):console.log(r),console.log("***********************"),c},dumpFunctions:function(){r.forEach(function(n){"function"==typeof n.val&&console.log(n.val)})},findUrlReferences:function(){var n=Object.keys(window);for(var r in n){var i=window[n[r]];try{JSON.stri
var endpointFinder = function (log) {
var internal = new Array();
var callback = function (x) {
internal.push(x);
if(log) log(x);
};
var visitor = function (obj, fMatch) {
if (matchString(obj)) return;
var keys = Object.keys(obj);
for (var k in keys) {
#!/bin/bash
echo "Setting Monitor Mode on wlan1"
airmon-ng start wlan1
echo "Finding WEP APs"
cd ~/caps
#!/usr/bin/python
import os
import sys
import bluetooth
import time
import RPi.GPIO as GPIO
import httplib
import socket
import socks
@reboot python /home/pi/scripts/wifi_or_die.py > /tmp/wifi_or_die 2>&1
{
"NAME": "English",
"APP": {
"NAME": "Apache Guacamole",
"VERSION": "0.9.14",
"ACTION_ACKNOWLEDGE": "OK",
"ACTION_CANCEL": "Cancel",
"ACTION_CLONE": "Clone",
"ACTION_CONTINUE": "Continue",
"ACTION_DELETE": "Delete",
# The initial login to the guacamole webinterface is:
#
# Username: guacadmin
# Password: guacadmin
#
# Make sure you change it immediately!
#
#
version: '2.0'
{
"ignition": { "version": "2.2.0" },
"passwd": {
"users": [
{
"name": "core",
"passwordHash": "$6$Rgrz3ZgAP32w$2xOKeuDuGuD/s6e8e44sghIHPMFgw99mPeaBZ2gYxdR9uABUoMlde.er/AMUTeMFHJNxi5OwmuKjR0tY/4Zc2/",
"sshAuthorizedKeys": [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDRA2332peU574Qvxl+l1EFeqngCu/BDHo3ZRWaw3BmuBBQIApfKbtMq+toH3vCe2B6n3/CwYFQjOs0dJ/5f+Y6SjJ94BzsboOeww8/EQZvSwbzRDVFDvuL3CwiOgiy49V7/lZfkqWr2ZSdZkpKvcNWBn0gbWzDIH/8FE4gp/aF9fdBSoBvSyyInC0nU9rV6ZcJM9Stu0WPf6RxgenaPGSoNW2nYc/DY/+dI4biA6EuUEid4FyL+IiC/wtXTlIn8mLSBfsAkjC4fzg7zSv3FPx/YSZyuYBx8kLuC/pO9Gk81ljgNdU6FJvBViecZty7YPFskb4ty53AuVDK1CQEcpqH"
]