Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[VB.NET] Modify Own Attributes [SRC]
#1
Here are a few codes that I found that you can use.

I re-write this so that it will work on your keylogger, rat, etc...

Imports:

Code:
System.IO.File

To make it read only:

Code:
Dim attribute as System.IO.FileAttributes = FileAttributes.ReadOnly
File.SetAttributes(Application.ExecutablePath, attribute)

To makeit not a hidden file:

Code:
dim attribute as System.IO.FileAttributes=IO.FileAttributes.Normal
System.IO.File.SetAttributes(Application.ExecutablePath,attribute)

To set the file's last accessed date:

Code:
System.IO.File.SetLastAccessTime(Application.ExecutablePath, Date.Now)

To mark the file as being a system file:

Code:
Dim attribute As System.IO.FileAttributes = IO.FileAttributes.System
System.IO.File.SetAttributes(Application.ExecutablePath, attribute)

To make the file compressed:

Code:
Dim attribute As System.IO.FileAttributes = IO.FileAttributes.Compressed
        System.IO.File.SetAttributes(Application.ExecutablePath, attribute)

To make the file a temporary file:

Code:
Dim attribute As System.IO.FileAttributes = IO.FileAttributes.Temporary
        System.IO.File.SetAttributes(Application.ExecutablePath, attribute)
Reply
#2
Awesome tut man...Thanks
[Image: 20r9vh4.jpg]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [VB.NET] Animated Form Extend [SRC] Fragma 6 5,537 10-10-2013, 12:18 PM
Last Post: Saket
  [VB.Net][SRC] YouTube Bot HF~Legend 5 3,656 11-25-2012, 05:54 AM
Last Post: Ixam
  [VB.Net][SRC]ProgressBar Color HF~Legend 14 7,507 09-08-2012, 04:18 PM
Last Post: spesificrelax
  [VB.NET] Basic Reverse Connection RAT [SRC] hasam 1 3,048 02-01-2012, 03:10 PM
Last Post: AceInfinity
  VB.NET Computer Information [SRC] Fragma 35 17,069 01-07-2012, 03:56 PM
Last Post: Quantum

Forum Jump:


Users browsing this thread: 1 Guest(s)