Skip to content

Commit

Permalink
Tool To Decode Data
Browse files Browse the repository at this point in the history
  • Loading branch information
R3DHULK authored Jan 29, 2023
1 parent 1832daa commit a2a9122
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions decoding_data.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package main

import (
"fmt"
"github.com/DimitarPetrov/stegify/steg"
)

func main(){
// 0x45 0x44
// 0x22 0x33 .....0x45 0x44 0xff

encodedFile := "encoded_hulk.jpg" // Encoded File Name
ResultFile := "dns-go.jpg" // Desired Result File Name

err := steg.DecodeByFileNames(encodedFile, ResultFile)
if err != nil{
fmt.Errorf("[-] Can't Decode The File")
}else{
fmt.Println("[*] File Has Been Succesfully Decoded")
}
}

0 comments on commit a2a9122

Please sign in to comment.