Skip to content

Commit

Permalink
More cheatsheets
Browse files Browse the repository at this point in the history
  • Loading branch information
r1cksec committed Jun 28, 2024
1 parent 93e7e2a commit d8b82c3
Show file tree
Hide file tree
Showing 12 changed files with 343 additions and 562 deletions.
13 changes: 13 additions & 0 deletions api/hunter-how.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
### Source
https://hunter.how/search-api

### Get open ports from domain (regarding last 7 days)
```
curl "https://api.hunter.how/search?api-key=<apiKey>&query=$(echo 'domain="<domain>"' | base64)&start_time=$(date -d '7 days ago' +'%Y-%m-%d')&end_time=$(date +'%Y-%m-%d')"
```

### Get open ports from ip (regarding last 7 days)
```
curl "https://api.hunter.how/search?api-key=<apiKey>&query=$(echo 'ip="<ip>"' | base64)&start_time=$(date -d '7 days ago' +'%Y-%m-%d')&end_time=$(date +'%Y-%m-%d')"
```

5 changes: 5 additions & 0 deletions linux/date.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@ date -d @1302401211
date -d "1601/1/1+$(expr <pwdLastSet> / 10000000 )Seconds"
```

### Get the date one week before today
```
date -d "7 days ago" +"%Y-%m-%d"
```

2 changes: 1 addition & 1 deletion linux/git.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ git difftool --tool-help

### Use specific difftool and do not prompt user
```
git difftool -y --tool=vimdiff
git difftool -y --tool=meld <commit>
```

### Use git via ssh
Expand Down
28 changes: 24 additions & 4 deletions linux/qubes.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,19 @@ sudo qubes-dom0-update <packet>
qvm-run --pass-io <qubeName> '<command>'
```

### Copy file to dom0
### List PCI devices
```
qvm-run --pass-io <qubeName> 'cat <file> > <outFile>'
qvm-pci list
```

### Copy file to qube
### Detach PCI (Eternet controller)
```
qvm-copy-to-vm <qubeName> <file>
qvm-pci detach -v sys-net dom0:00_1f.6
```

### Attach PCI (Eternet controller)
```
qvm-pci attach -v --persistent --option no-script-reset=True sys-net dom0:00_1f.6
```

### List network information of qube
Expand Down Expand Up @@ -43,3 +48,18 @@ qvm-prefs <qubeName> maxmem 8000
xentop
```

### Install untrusted qube
```
sudo qubesctl state.sls qvm.untrusted
```

### Copy file to dom0
```
qvm-run --pass-io <qubeName> 'cat <file> > <outFile>'
```

### Copy file to qube
```
qvm-copy-to-vm <qubeName> <file>
```

6 changes: 0 additions & 6 deletions snippet/sh/timeDateFormat.sh

This file was deleted.

44 changes: 43 additions & 1 deletion url/git-tools
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ https://github.com/0xthirteen/SharpRDP
Remote Desktop Protocol .NET Console Application for Authenticated Command Execution

https://github.com/0xv1n/RemoteSessionEnum
The purpose of this project was to attempt to replicate the functionality of qwinsta /server:<servername> utilizing the largely undocumented Windows Station (WinSta) API.
Remotely Enumerate sessions using undocumented Windows Station APIs

https://github.com/0xv1n/proc-suspend
powershell script i wrote that can suspend an arbitrary process (with limits)
Expand Down Expand Up @@ -94,6 +94,9 @@ https://github.com/Accenture/Codecepticon
https://github.com/Accenture/Spartacus
Spartacus DLL Hijacking Discovery Tool

https://github.com/AdnaneKhan/Gato-X
Gato Extreme Edition is a hard fork of Gato, which was originally developed by @AdnaneKhan, @mas0nd, and @DS-koolaid. Gato-X is maintained by @AdnaneKhan and serves to automate advanced enumeration and exploitation techniques against GitHub repositories and organizations for security research purposes.

https://github.com/AdrianVollmer/Congruence
A command line interface to Atlassian Confluence

Expand Down Expand Up @@ -193,6 +196,9 @@ yet another AV killer tool using BYOVD
https://github.com/BloodHoundAD/BloodHound
Six Degrees of Domain Admin

https://github.com/C0untFloyd/roop-unleashed
Evolved Fork of roop with Web Server and lots of additions

https://github.com/C3n7ral051nt4g3ncy/Prot1ntelligence
Protintelligence is a Python script for the OSINT and Cyber Community. It finds intelligence on Protonmail accounts

Expand All @@ -202,6 +208,9 @@ Another LSASS dumping tool that uses a dynamically compiled LSA plugin to grab a
https://github.com/CCob/SharpBlock
A method of bypassing EDR's active projection DLL's by preventing entry point exection

https://github.com/CCob/Shwmae
Shwmae (shuh-my) is a Windows Hello abuse tool that was released during DEF CON 32 as part of the Abusing Windows Hello Without a Severed Hand talk. The purpose of the tool is to abuse Windows Hello from a privileged user context.

https://github.com/CCob/SweetPotato
Local Service to SYSTEM privilege escalation from Windows 7 to Windows 10 / Server 2019

Expand Down Expand Up @@ -841,6 +850,9 @@ Tunna is a set of tools which will wrap and tunnel any TCP communication over HT
https://github.com/SafeBreach-Labs/PoolParty
A set of fully-undetectable process injection techniques abusing Windows Thread Pools

https://github.com/SafeBreach-Labs/QuickShell
A library and a set of tools for exploiting and communicating with Google's Quick Share devices.

https://github.com/SamJoan/droopescan
A plugin-based scanner that aids security researchers in identifying issues with several CMSs, mainly Drupal & Silverstripe.

Expand Down Expand Up @@ -925,6 +937,9 @@ EmailAll is a powerful Email Collect tool
https://github.com/TarlogicSecurity/BlueSpy
PoC to record audio from a Bluetooth device

https://github.com/Teach2Breach/Tempest
A command and control framework written in rust.

https://github.com/The-Viper-One/PsMapExec
A PowerShell tool that takes strong inspiration from CrackMapExec.

Expand Down Expand Up @@ -1129,6 +1144,9 @@ Prevents you from committing secrets and credentials into git repositories
https://github.com/ayoubfathi/leaky-paths
A collection of special paths linked to major web CVEs, known misconfigurations, juicy APIs ..etc. It could be used as a part of web content discovery, to scan passively for high-quality endpoints and quick-wins.

https://github.com/badsectorlabs/sccm-http-looter
Find interesting files stored on (System Center) Configuration Manager (SCCM/CM) shares via HTTP(s)

https://github.com/bats3c/ADCSPwn
A tool to escalate privileges in an active directory network by coercing authenticate from machine accounts and relaying to the certificate service.

Expand Down Expand Up @@ -1663,6 +1681,9 @@ Subdomain Takeover tool written in Go
https://github.com/hackerhouse-opensource/WMIProcessWatcher
A CIA tradecraft technique to asynchronously detect when a process is created using WMI.

https://github.com/hacksider/Deep-Live-Cam
real time face swap and one-click video deepfake with only a single image

https://github.com/hakaioffsec/navgix
navgix is a multi-threaded golang tool that will check for nginx alias traversal vulnerabilities

Expand Down Expand Up @@ -1900,6 +1921,9 @@ Abusing Reddit API to host the C2 traffic, since most of the blue-team members u
https://github.com/kleiton0x00/Shelltropy
A technique of hiding malicious shellcode via Shannon encoding.

https://github.com/kleiton0x00/contexter
Contexter - A secondary context path traversal / server-side parameter pollution testing tool written in Python 3

https://github.com/klezVirus/CandyPotato
Pure C++, weaponized, fully automated implementation of RottenPotatoNG

Expand Down Expand Up @@ -2428,6 +2452,9 @@ Go alternative of python SimpleHTTPServer
https://github.com/projectdiscovery/subfinder
Subfinder is a subdomain discovery tool that discovers valid subdomains for websites. Designed as a passive framework to be useful for bug bounties and safe for penetration testing.

https://github.com/projectdiscovery/tldfinder
A streamlined tool for discovering TLDs, associated domains, and related domain names.

https://github.com/projectdiscovery/useragent
Curated list of categorized User Agents

Expand Down Expand Up @@ -2524,6 +2551,9 @@ Dump lsass using only Native APIs by hand-crafting Minidump files (without Minid
https://github.com/ricardojoserf/SharpSelfDelete
PoC to self-delete a binary in C#

https://github.com/ricardojoserf/TrickDump
Dump lsass using only NTAPIS running 3 programs to create 3 JSON and 1 ZIP file... and generate the Minidump later!

https://github.com/righteousgambit/quiet-riot
Unauthenticated enumeration of AWS, Azure, and GCP Principals

Expand Down Expand Up @@ -2560,6 +2590,9 @@ A script that collects employee data located within Xing
https://github.com/rtrouton/create_macos_vm_install_dmg
This script prepares macOS installer disk images for use with virtualization software like VMware Fusion or Parallels.

https://github.com/runZeroInc/sshamble
SSHamble: Unexpected Exposures in SSH

https://github.com/rvazarkar/GMSAPasswordReader
Reads the password blob from a GMSA account using LDAP, and parses the values into hashes for re-use.

Expand Down Expand Up @@ -2728,6 +2761,9 @@ World’s single largest Internet domains dataset
https://github.com/techjacker/repo-security-scanner
CLI tool that finds secrets accidentally committed to a git repo, eg passwords, private keys

https://github.com/tehstoni/tryharder
C++ Staged Shellcode Loader with Evasion capabilities.

https://github.com/tennc/webshell
This is a webshell open source project

Expand Down Expand Up @@ -2785,6 +2821,9 @@ Rust Weaponization for Red Team Engagements.
https://github.com/trufflesecurity/truffleHog
Searches through git repositories for high entropy strings and secrets, digging deep into commit history

https://github.com/trustedsec/ELFLoader
This is a ELF object in memory loader/runner. The goal is to create a single elf loader that can be used to run follow on capabilities across all x86_64 and x86 nix operating systems.

https://github.com/trustedsec/hardcidr
hardCIDR is a Linux Bash script, but also functions under macOS. Your mileage may vary on other distros. The script with no specified options will query ARIN and a pool of BGP route servers. The route server is selected at random at runtime.

Expand Down Expand Up @@ -2938,6 +2977,9 @@ Collection of tools that reflect the network dimension into Bloodhound's data
https://github.com/zeronetworks/BlueHound
BlueHound is an open-source tool that helps blue teams pinpoint the security issues that actually matter.

https://github.com/zeze-zeze/NamedPipeMaster
a tool used to analyze and monitor in named pipes

https://github.com/zsh-users/zsh-autosuggestions
Fish-like autosuggestions for zsh

Expand Down
3 changes: 2 additions & 1 deletion url/news.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
* https://talkback.sh
* https://thehackernews.com
* https://thisweekin4n6.com
* https://threats.wiz.io/all-incidents
* https://www.breaches.cloud
* https://www.golem.de/specials/security
* https://www.ransomlook.io/recent
* https://www.ransomware.live/#/recentvictims
* https://www.ransomware.live/#/recent
* https://www.reddit.com/r/redteamsec
* https://www.sixgen.io/news
* https://www.threatable.io
1 change: 0 additions & 1 deletion url/services.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
* https://report.netcraft.com/report
* https://socradar.io/labs/accountbreach
* https://strontic.github.io/xcyclopedia ; #windows #forensic #dfir #executable
* https://threats.wiz.io ; #cloud #malware #watchlist
* https://urlfiltering.paloaltonetworks.com
* https://uuid.pirate-server.com ; #windows #globally-unique-identifier #guid #uuid
* https://vim-adventures.com ; #vim #game
Expand Down
Loading

0 comments on commit d8b82c3

Please sign in to comment.