-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
279 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
### Source | ||
https://github.com/sse-secure-systems/TeamsEnum | ||
|
||
### Enumerate email addresses | ||
``` | ||
TeamsEnum -a password -u <user> -p "<password>" -f <outFile> | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
### Install | ||
``` | ||
pip install awscli | ||
aws configure | ||
ls ~/.aws | ||
``` | ||
|
||
### List instances | ||
``` | ||
aws ec2 describe-instances | ||
``` | ||
|
||
### List instances using ssh key | ||
``` | ||
aws ec2 describe-instances --query 'Reservations[*].Instances[?KeyName==`<sshKey>`].[InstanceId,KeyName,State.Name]' --output text | ||
``` | ||
|
||
### Create instance (amiId for Debian 12 eu-central-1 ami-0b1ceff20779a1adb) | ||
``` | ||
aws ec2 run-instances --image-id <amiId> --count 1 --instance-type t2.micro --key-name <sshKey> --security-group-ids <groupId> --tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value=<name>},{Key=Project,Value=<project>}]' | ||
``` | ||
|
||
### Delete instance | ||
``` | ||
aws ec2 terminate-instances --instance-ids "<instanceId>" | ||
``` | ||
|
||
### Get latest amiId of ubuntu | ||
``` | ||
aws ssm get-parameters --names /aws/service/canonical/ubuntu/server/20.04/stable/current/amd64/hvm/ebs-gp2/ami-id | ||
``` | ||
|
||
### List security groups | ||
``` | ||
aws ec2 describe-security-groups | ||
``` | ||
|
||
### Create security group | ||
``` | ||
aws ec2 create-security-group --group-name <groupName> --description "<description>" | ||
``` | ||
|
||
### Add rule to security group | ||
``` | ||
aws ec2 authorize-security-group-ingress --group-name <groupName> --protocol tcp --port <port> --cidr 0.0.0.0/0 | ||
``` | ||
|
||
### List subnets | ||
``` | ||
aws ec2 describe-subnets --query 'Subnets[*].[SubnetId, AvailabilityZone, VpcId, Tags[?Key==`Name`].Value | [0]]' | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
### Source | ||
https://github.com/projectdiscovery/dnsx | ||
|
||
### Resolve domains to ipv4 from file | ||
``` | ||
dnsx -a -l <file> | ||
``` | ||
|
||
### Get asn of domain | ||
``` | ||
dnsx -silent -l <file> -asn -resp | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
### Source | ||
https://github.com/ffuf/ffuf | ||
|
||
### Fuzz cgi directory (-e extensions, -t threads) - (https://raw.githubusercontent.com/danielmiessler/SecLists/master/Discovery/Web-Content/CGI-XPlatform.fuzz.txt) | ||
### Fuzz webpath (-e extensions, -t threads) | ||
``` | ||
ffuf -w <path>/SecLists/Discovery/Web-Content/CGI-XPlatform.fuzz.txt -u <rhost>/ccgi-bin/FUZZ -t <number> -e .sh,.pl,.cgi | ||
``` | ||
|
||
### Print 200 status code URLs | ||
``` | ||
jq -r '.results[] | select(.status == 200) | .url' <file>.json | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
### Source | ||
https://github.com/praetorian-inc/gato | ||
|
||
### Seach for public repositories that use self-hosted runners | ||
``` | ||
gato search --sourcegraph --output-text <outFile> <keyword> | ||
``` | ||
|
||
### Find pipeline vulnerabilities within GitHub repositories | ||
``` | ||
gato enumerate --repositories <file> | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
### Source | ||
https://github.com/mxrch/gitfive | ||
|
||
### Enumerate username for list of e-mail addresses | ||
``` | ||
gitfive emails <emailFile> | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
### Source | ||
https://github.com/megadose/holehe | ||
|
||
### Check if e-mail address was used for different services | ||
``` | ||
holehe --no-clear <email> | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
### Source | ||
https://github.com/dirkjanm/ROADtools | ||
|
||
### Start graphical interface | ||
``` | ||
roadrecon gui | ||
``` | ||
|
||
### Load local database | ||
``` | ||
roadrecon gui -d <file>.db | ||
``` | ||
|
||
### Generate bloodhound graph | ||
``` | ||
roadrecon plugin bloodhound -d <file>.db -du <user> -dp <password> | ||
``` | ||
|
||
### Generate conditional access policy HTML | ||
``` | ||
roadrecon plugin policies -d <file>.db -p | ||
``` | ||
|
||
### Generate csv file from database | ||
``` | ||
roadrecon plugin xlsexport -v -d <file>.db | ||
libreoffice --headless --convert-to csv <file>.xls --outdir <outdir> | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
### Install | ||
``` | ||
# Ubuntu Debian | ||
apt install wireguard | ||
# Fedora | ||
dnf install wireguard-tools | ||
# Arch | ||
pacman -S wireguard-tools | ||
``` | ||
|
||
### Generate configuration | ||
``` | ||
wg genkey | sudo tee /etc/wireguard/private.key | ||
cat /etc/wireguard/private.key | wg pubkey | sudo tee /etc/wireguard/public.key | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
print('Content-Type: text/html') | ||
print() | ||
|
||
print(''' | ||
<!DOCTYPE html> | ||
<html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
if grep -q "str" "f.txt" | ||
then | ||
echo "str in file" | ||
else | ||
echo "str not in file" | ||
fi | ||
|
Oops, something went wrong.