Hack Forums
[.NET] Resources to appdata - 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] Resources to appdata (/showthread.php?tid=5219611)



Resources to appdata - linc0ln.dll - Mar 29, 2016

Hello HF, Im trying to make a litle tool.How to move my Resources windowupdate.exe to
\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup Plz Help


* - Lor‌d - Mar 29, 2016

You would have to read it from your resources as bytes and write it to the folder you specified.
I think it would be something like
IO.File.Writeallbytes(my.resources.resource, "directory/resource.exe")


* - Slavoj Žižek - Mar 30, 2016

windowsupdate.exe is a rat i guess, try reading the bytes from the file in resources with file.readallbytes() then inject it

the AV's will be really suspicious if you drop it to appdata...