myph.git


myph

~ shellcode loader for your evasion needs
git clone https://github.com/matro7sh/myph.git
log | files | refs | archive | README | LICENSE

commit 745551d1ec233e7a43d1cb30509b976278929743
parent bac034fc11bda0a4e840b7c18557d78919fb27ed
Author: winds0r <[email protected]>
Date: Sun, 23 Jul 2023 16:44:59 +0900

feat(docs): improving usage docs

Diffstat:
MREADME.md | 19+++++++++++++++++--
MTODO.txt | 5-----
Mcli/parser.go | 2+-

3 files changed, 18 insertions(+), 8 deletions(-)

diff --git a/README.md b/README.md
@@ -49,12 +49,22 @@ Flags:
   -f, --out string           output name (default "myph-out")
   -p, --process string       target process to inject shellcode to (default "cmd.exe")
   -s, --shellcode string     shellcode path (default "msf.raw")
+  -t, --technique string     shellcode-loading technique (allowed: CRT, CreateThread) (default "CRT")
   -v, --version              version for myph
 ```
 
-This tool uses the CRT method. If you don't know what that is, go check out [this repository](https://github.com/CMEPW/BypassAV) :)~
+#### Methods
 
-> Altough there is an OS version, Linux or MacOS are not supported !
+This tool supports few methods for now, but aims to add more as time goes on:
+- CreateThread
+- CreateRemoteThread
+
+If you don't know what that is about, go check out [this repository](https://github.com/CMEPW/BypassAV) :)~
+
+> Altough there is an OS version, Linux or MacOS are not supported yet !
+
+
+#### Example
 
 Generate a payload like so:
 
@@ -78,3 +88,8 @@ make docker
 # going through dockerfile directly
 docker build . -t myph:latest
 ```
+
+### Contributing
+
+Contributions are welcome, but please try to keep PRs short and issues descriptive. :)~
+A guide on how to use the tool is in the works, please let us know if you're interested in helping out.
diff --git a/TODO.txt b/TODO.txt
@@ -16,8 +16,3 @@ Templates:
     -> add ProcessHollowing template & syscall method
     -> add template for loading dlls & win32 api calls through PEB
     -> add to TODO plan for indirect syscalls
-
-
-Documentation:
-
-    -> add a guide on how to contribute ?
diff --git a/cli/parser.go b/cli/parser.go
@@ -143,7 +143,7 @@ func GetParser(opts *Options) *cobra.Command {
 			if stderr != nil {
 				fmt.Printf("[!] error compiling shellcode: %s\n", stderr.Error())
 				fmt.Printf(
-					"\nYou may try to run the following command in %s to find out what happend: GOOS=%s GOARCH=%s %s\n\n",
+					"\nYou may try to run the following command in %s to find out what happend:\n\n GOOS=%s GOARCH=%s %s\n\n",
 					opts.OutName,
 					opts.OS,
 					opts.Arch,