Hack Forums
[.NET] [Video HD Tut]File Spliting [Used in RATs to send pictures] - 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] [Video HD Tut]File Spliting [Used in RATs to send pictures] (/showthread.php?tid=1742209)



[Video HD Tut]File Spliting [Used in RATs to send pictures] - Coding4Noobs - Sep 19, 2011





more tuts at c4noobs.blogspot.com

this will help you noobs with file splitting for your RATs :P or skid anti viruses...


* - Coding4Noobs - Sep 19, 2011

what are you talking about, this has nothing to do with EOF o.O this has to do with looping thru a file and spliting it into bytes so you can send it via Sockets...


* - N3bco - Sep 19, 2011

So when the client end of the rat receives the string, it just parses out the buffer and concats it together?


* - Coding4Noobs - Sep 19, 2011

no, server side, you would do something like this....

Dim HoldBytes as string
Sub Recieve(byval data as string)
HoldBytes & = data
end sub

when you get all the bytes then, system.encoding.default.GetBytes(holdbytes) = your images in byte format, so use a memory stream to open it


* - N3bco - Sep 19, 2011

(Sep 19, 2011 05:06 PM)Coding4Noobs Wrote:  no, server side, you would do something like this....
Dim HoldBytes as string
Sub Recieve(byval data as string)
HoldBytes & = data
end sub
when you get all the bytes then, system.encoding.default.GetBytes(holdbytes) = your images in byte format, so use a memory stream to open it

Thanks Coding4Noobs I was trying to do something like this for awhile.


* - Coding4Noobs - Sep 19, 2011

no problem, ill be teaching this again later, with more details for when sendin a file via sockets when i get there with my socket tuts, lol ive just been to busy to do a full tut of sendin files cause of rugby so i made this half ass one...


* - N3bco - Sep 19, 2011

I'm waiting for your tut as I can't get this working for some reason...


* - Coding4Noobs - Sep 19, 2011

its cause i never showed you how to make a use a tcp listener to accept clients... ill be doing that in the next video... just need some time, all my time is being spent on Rugby, School, Paradox DDoSeR, Pradox RAT, black trinity, then tuts...


* - N3bco - Sep 19, 2011

No i mean the connection is good, your code is working but only some of the file is being sent. For instance if i send a text file its cut out halfway through?


* - Coding4Noobs - Sep 20, 2011

hmm... add a delay so it gives time to parse and convert.