Skip to content

Instantly share code, notes, and snippets.

@pr0b3r7
pr0b3r7 / namemash.py
Created January 28, 2023 21:06 — forked from superkojiman/namemash.py
Creating a user name list for brute force attacks.
#!/usr/bin/env python3
'''
NameMash by superkojiman
Generate a list of possible usernames from a person's first and last name.
https://blog.techorganic.com/2011/07/17/creating-a-user-name-list-for-brute-force-attacks/
'''

Keybase proof

I hereby claim:

  • I am pr0b3r7 on github.
  • I am pr0b3r7 (https://keybase.io/pr0b3r7) on keybase.
  • I have a public key ASCL5zda5cB55fG1VrCssb9nexOtge96l4gOr4-4Z5GqEAo

To claim this, I am signing this object:

@pr0b3r7
pr0b3r7 / reverse-shell.md
Created May 29, 2022 11:09 — forked from gustavohenrique/reverse-shell.md
Reverse shell Cheat Sheet
@pr0b3r7
pr0b3r7 / XpSerials.txt
Created May 21, 2022 13:38 — forked from denizssch/XpSerials.txt
Windows XP ALL Serial Keys :) (For testing purpose [Ex: VM or PenTest])
FCKGW-RHQQ2-YXRKT-8TG6W-2B7Q8
Windows XP PRO Corporate serial number S/N: Key: MQPWW-PGVKX-YPMKG-8DH3G-KC8PW
windows xp home edition serial number S/N: 034634-262024-171505-828316-729010-413531-800424-400442
Windows XP 64 serial number S/N: B2RBK-7KPT9-4JP6X-QQFWM-PJD6G
Windows XP serial number S/N: K6C2K-KY62K-DQR84-RD4QV-QB74Q
Windows XP Professional 64-bit Corporate Edition 5.2.3790.1830 serial number S/N: VCFQD-V9FX9-46WVH-K3CD4-4J3JM
Microsoft Windows XP Professional SP2 serial number S/N: YY8F2-3CKVQ-RKTRG-6JMDR-9DTG6
Windows XP Professional Service Pack 1 sp1 serial number S/N: F46YY - 2R8VQ - R8GMY - 926VK - 6BQ73
Windows XP Pro serial number S/N: KBWR7-76BD8-J7MDQ-KKG&C-V9Q2J
@pr0b3r7
pr0b3r7 / restart-ssh.bash
Created May 19, 2022 23:23 — forked from influx6/restart-ssh.bash
Restart SSH on Mac Terminal (High Sierra)
# high sierra
sudo launchctl stop com.openssh.sshd
sudo launchctl start com.openssh.sshd
# latest
sudo vim /etc/services # (update the port config for ssh and save)
sudo launchctl unload /System/Library/LaunchDaemons/ssh.plist
sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist
@pr0b3r7
pr0b3r7 / regsvcs.cs
Created December 22, 2021 23:59 — forked from jbarcia/regsvcs.cs
Application Whiltelisting Bypass - regsvcs/regasm
using System;
using System.EnterpriseServices;
using System.Runtime.InteropServices;
/*
Author: Casey Smith, Twitter: @subTee
License: BSD 3-Clause
Create Your Strong Name Key -> key.snk
@pr0b3r7
pr0b3r7 / kerberos_attacks_cheatsheet.md
Created December 5, 2021 21:21 — forked from TarlogicSecurity/kerberos_attacks_cheatsheet.md
A cheatsheet with commands that can be used to perform kerberos attacks

Kerberos cheatsheet

Bruteforcing

With kerbrute.py:

python kerbrute.py -domain <domain_name> -users <users_file> -passwords <passwords_file> -outputfile <output_file>

With Rubeus version with brute module:

Retrieves all of the trust relationships for this domain - Does not Grab Forest Trusts
([System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain()).GetAllTrustRelationships()
Grab Forest Trusts.
([System.DirectoryServices.ActiveDirectory.Forest]::GetCurrentForest()).GetAllTrustRelationships()
@pr0b3r7
pr0b3r7 / gist:8d287627c267b96d651328d9d1ed618f
Created October 30, 2021 23:16 — forked from 480/gist:3b41f449686a089f34edb45d00672f28
MacOS X + oh my zsh + powerline fonts + visual studio code terminal settings

MacOS X + oh my zsh + powerline fonts + visual studio code (vscode) terminal settings

Thank you everybody, Your comments makes it better

Install oh my zsh

http://ohmyz.sh/

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
@pr0b3r7
pr0b3r7 / cisco_reload_switches.yml
Created July 15, 2021 14:46 — forked from craigarms/cisco_reload_switches.yml
Ansible Playbook to reload Cisco Switches and verify the version is at the target
---
- hosts: sw_ios
gather_facts: false
models:
"WS-C2960XR-48FPD-I":
ios_version: "15.2(7)E0a"
ios_path: "IOS/"
ios_archive: "c2960x-universalk9-tar.152-7.E0a.tar"
ios_binary: "c2960x-universalk9-mz.152-7.E0a.bin"
ios_md5: "07195a8c7866ac2a91c64b716465c516"