├── .gitignore ├── FFI ├── printf.nim ├── time_ex.nim └── windows.nim ├── LICENSE ├── PIC_shellcode ├── main.nim ├── nim.cfg └── utils │ ├── antidebug.nim │ ├── crtio.nim │ ├── getmodulehandle.nim │ ├── getprocaddress.nim │ ├── hash.nim │ ├── memcmp.nim │ └── str.nim ├── README.md ├── async_webserver ├── client.nim └── server.nim ├── compile_time ├── run_at_compile.nim └── string_hashing.nim ├── dll_example ├── sample.nim └── strip_NimMain.nim ├── embed_ico ├── main.nim ├── pdf.ico ├── pdf.res └── resource.rc ├── macros ├── main.c ├── manual_stack_strings.nim ├── stack_strings.nim └── strenc_example.nim ├── nim for hackers 2.pdf ├── no_win_import_example ├── main.nim ├── main_xored_strings.nim ├── nim.cfg └── utils │ ├── antidebug.nim │ ├── crtio.nim │ ├── getmodulehandle.nim │ ├── getprocaddress.nim │ └── memcmp.nim ├── other ├── calling_conventions.nim ├── cast_vs_conversion.nim ├── encode_string.nim ├── getmodulehandle.nim ├── getprocaddress.nim ├── inline.nim └── test.nim ├── payload_obfuscation ├── generate_payload.nim └── run_payload.nim ├── payload_retrieval ├── main.nim └── selfdelete.nim ├── payload_storage └── main.nim ├── reverse_shell └── reverse_shell.nim └── win_gui └── main.nim /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/.gitignore -------------------------------------------------------------------------------- /FFI/printf.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/FFI/printf.nim -------------------------------------------------------------------------------- /FFI/time_ex.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/FFI/time_ex.nim -------------------------------------------------------------------------------- /FFI/windows.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/FFI/windows.nim -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/LICENSE -------------------------------------------------------------------------------- /PIC_shellcode/main.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/PIC_shellcode/main.nim -------------------------------------------------------------------------------- /PIC_shellcode/nim.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/PIC_shellcode/nim.cfg -------------------------------------------------------------------------------- /PIC_shellcode/utils/antidebug.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/PIC_shellcode/utils/antidebug.nim -------------------------------------------------------------------------------- /PIC_shellcode/utils/crtio.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/PIC_shellcode/utils/crtio.nim -------------------------------------------------------------------------------- /PIC_shellcode/utils/getmodulehandle.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/PIC_shellcode/utils/getmodulehandle.nim -------------------------------------------------------------------------------- /PIC_shellcode/utils/getprocaddress.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/PIC_shellcode/utils/getprocaddress.nim -------------------------------------------------------------------------------- /PIC_shellcode/utils/hash.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/PIC_shellcode/utils/hash.nim -------------------------------------------------------------------------------- /PIC_shellcode/utils/memcmp.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/PIC_shellcode/utils/memcmp.nim -------------------------------------------------------------------------------- /PIC_shellcode/utils/str.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/PIC_shellcode/utils/str.nim -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/README.md -------------------------------------------------------------------------------- /async_webserver/client.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/async_webserver/client.nim -------------------------------------------------------------------------------- /async_webserver/server.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/async_webserver/server.nim -------------------------------------------------------------------------------- /compile_time/run_at_compile.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/compile_time/run_at_compile.nim -------------------------------------------------------------------------------- /compile_time/string_hashing.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/compile_time/string_hashing.nim -------------------------------------------------------------------------------- /dll_example/sample.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/dll_example/sample.nim -------------------------------------------------------------------------------- /dll_example/strip_NimMain.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/dll_example/strip_NimMain.nim -------------------------------------------------------------------------------- /embed_ico/main.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/embed_ico/main.nim -------------------------------------------------------------------------------- /embed_ico/pdf.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/embed_ico/pdf.ico -------------------------------------------------------------------------------- /embed_ico/pdf.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/embed_ico/pdf.res -------------------------------------------------------------------------------- /embed_ico/resource.rc: -------------------------------------------------------------------------------- 1 | 1000 ICON "pdf.ico" -------------------------------------------------------------------------------- /macros/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/macros/main.c -------------------------------------------------------------------------------- /macros/manual_stack_strings.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/macros/manual_stack_strings.nim -------------------------------------------------------------------------------- /macros/stack_strings.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/macros/stack_strings.nim -------------------------------------------------------------------------------- /macros/strenc_example.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/macros/strenc_example.nim -------------------------------------------------------------------------------- /nim for hackers 2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/nim for hackers 2.pdf -------------------------------------------------------------------------------- /no_win_import_example/main.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/no_win_import_example/main.nim -------------------------------------------------------------------------------- /no_win_import_example/main_xored_strings.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/no_win_import_example/main_xored_strings.nim -------------------------------------------------------------------------------- /no_win_import_example/nim.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/no_win_import_example/nim.cfg -------------------------------------------------------------------------------- /no_win_import_example/utils/antidebug.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/no_win_import_example/utils/antidebug.nim -------------------------------------------------------------------------------- /no_win_import_example/utils/crtio.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/no_win_import_example/utils/crtio.nim -------------------------------------------------------------------------------- /no_win_import_example/utils/getmodulehandle.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/no_win_import_example/utils/getmodulehandle.nim -------------------------------------------------------------------------------- /no_win_import_example/utils/getprocaddress.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/no_win_import_example/utils/getprocaddress.nim -------------------------------------------------------------------------------- /no_win_import_example/utils/memcmp.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/no_win_import_example/utils/memcmp.nim -------------------------------------------------------------------------------- /other/calling_conventions.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/other/calling_conventions.nim -------------------------------------------------------------------------------- /other/cast_vs_conversion.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/other/cast_vs_conversion.nim -------------------------------------------------------------------------------- /other/encode_string.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/other/encode_string.nim -------------------------------------------------------------------------------- /other/getmodulehandle.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/other/getmodulehandle.nim -------------------------------------------------------------------------------- /other/getprocaddress.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/other/getprocaddress.nim -------------------------------------------------------------------------------- /other/inline.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/other/inline.nim -------------------------------------------------------------------------------- /other/test.nim: -------------------------------------------------------------------------------- 1 | echo "Hello World" -------------------------------------------------------------------------------- /payload_obfuscation/generate_payload.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/payload_obfuscation/generate_payload.nim -------------------------------------------------------------------------------- /payload_obfuscation/run_payload.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/payload_obfuscation/run_payload.nim -------------------------------------------------------------------------------- /payload_retrieval/main.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/payload_retrieval/main.nim -------------------------------------------------------------------------------- /payload_retrieval/selfdelete.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/payload_retrieval/selfdelete.nim -------------------------------------------------------------------------------- /payload_storage/main.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/payload_storage/main.nim -------------------------------------------------------------------------------- /reverse_shell/reverse_shell.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/reverse_shell/reverse_shell.nim -------------------------------------------------------------------------------- /win_gui/main.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/us-cyber-team/nim_for_hackers2/HEAD/win_gui/main.nim --------------------------------------------------------------------------------