antiforensics

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 10 Imported by: 0

README

Antiforensics Examples

Wipe a file or dir (recursive)

package main

import (
  "log"

  "github.com/D3Ext/maldev/antiforensics"
)

func main(){
  err = antiforensics.Wipe("file.txt")
  if err != nil {
    log.Fatal(err)
  }
}

Timestomping

package main

import (
  "log"

  "github.com/D3Ext/maldev/antiforensics"
)

func main(){
  err := antiforensics.Timestomp("./file.txt", 5) // func TimestompFile(filename string, count int) (error)
  if err != nil {
    log.Fatal(err)
  }
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Timestomp added in v0.1.3

func Timestomp(src string, count int) error

func Wipe added in v0.1.3

func Wipe(src string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL