Skip to content

Instantly share code, notes, and snippets.

View x0341's full-sized avatar
🇵🇹
I may be slow to respond.

x0341 x0341

🇵🇹
I may be slow to respond.
View GitHub Profile
@x0341
x0341 / GoogleDorking.md
Created November 15, 2022 19:30 — forked from sundowndev/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@x0341
x0341 / install-docker.sh
Created September 26, 2022 21:11 — forked from donnykurnia/ install-docker.sh
Shell provision for ubuntu-based vagrant machine to install latest docker daemon (1.9.1)
export DEBIAN_FRONTEND=noninteractive
# update repository
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo 'deb https://apt.dockerproject.org/repo ubuntu-trusty main' > /etc/apt/sources.list.d/docker.list
apt-get update
apt-get upgrade -y
apt-get autoremove --purge -y
apt-get purge -y lxc-docker
@x0341
x0341 / connect.ps1
Created August 28, 2022 19:11 — forked from codebykyle/connect.ps1
Windows Terminal Split Pane Powershell Script - v2
using namespace System.Collections.Generic
# Encapsulate an arbitrary command
class PaneCommand {
[string]$Command
PaneCommand() {
$this.Command = "";
}
@x0341
x0341 / websandbox.sh
Created August 16, 2022 20:44 — forked from netfl0/websandbox.sh
VirtualBox and ToR transparent proxy
----------------------------------------------
#TOR CONFIGURATION:
# transparent tor:
#TransPort 9040
#TransListenAddress 10.0.0.1
#DNSPort 53
#DNSListenAddress 10.0.0.1
-----------------------------------------------
@x0341
x0341 / route-traffic-through-tor-iptables.md
Created August 16, 2022 20:43 — forked from jkullick/route-traffic-through-tor-iptables.md
Route all Traffic through Tor for specific User on Linux with IPTables
iptables -A OUTPUT -p icmp -j REJECT
iptables -t nat -A OUTPUT ! -o lo -p tcp -m owner --uid-owner $USER -m tcp -j REDIRECT --to-ports 9040
iptables -t nat -A OUTPUT ! -o lo -p udp -m owner --uid-owner $USER -m udp --dport 53 -j REDIRECT --to-ports 53
iptables -t filter -A OUTPUT -p tcp -m owner --uid-owner $USER -m tcp --dport 9040 -j ACCEPT
iptables -t filter -A OUTPUT -p udp -m owner --uid-owner $USER -m udp --dport 53 -j ACCEPT
iptables -t filter -A OUTPUT ! -o lo -m owner --uid-owner $USER -j DROP
@x0341
x0341 / Deploy-VM.ps1
Created March 21, 2021 15:29 — forked from ronaldvanvugt/Deploy-VM.ps1
Deploy and customize a VM in vCenter with PowerCLI
# Deploy Windows Server 2008 or higher in vCenter
#### USER DEFINED VARIABLES ############################################################################################
$Domain = "" #AD Domain to join
$vCenterInstance = "" #vCenter to deploy VM
$Cluster = "" #vCenter cluster to deploy VM
$VMTemplate = "" #vCenter template to deploy VM
$CustomSpec = "" #vCenter customization to use for VM
$Location = "" #Folderlocation in vCenter for VM
$DataStore = "" #Datastore in vCenter to use for VM
@x0341
x0341 / Security Onion installation
Created December 30, 2020 23:09 — forked from cleesmith/Security Onion installation
Security Onion installation in a virtualbox
Security Onion
Aug 2014:
... my purpose for installing this was to:
- learn more about security stuff
- steal the packet captures (pcap) provided so I can replay them using tcpreplay for snort testing,
as it's not so sexy to just test using ICMP ping data or local rules that match anything
see:
http://blog.securityonion.net/
@x0341
x0341 / connect.ps1
Last active October 6, 2022 00:53 — forked from jdforsythe/connect.ps1
Remote Desktop Auto Login Powershell Script
echo "Connecting to 192.168.1.100"
$Server="192.168.1.100"
$User="Administrator"
$Password="AdminPassword"
cmdkey /generic:TERMSRV/$Server /user:$User /pass:$Password
mstsc /v:$Server
@x0341
x0341 / generic_theme.json
Created March 17, 2020 20:09 — forked from vynmera/generic_theme.json
Rocket.Chat dark mode theme JSON draft
{
"_id": "generic_theme",
"name": "Rocket.Chat Theme",
"description": "An overview of the theming JSON for Rocket.Chat.",
"variables": {
"main": {
"error": "#CC243A",
"error-light": "#A6303F",
"alert": "#E8BE19",
"alert-light": "#CEAB20",