220 Commits

Author SHA1 Message Date
Cracked5pider 69ce17cb36 fix(server): revert go version (fixes #514) 2024-09-11 00:13:35 +02:00
Cracked5pider a3f36e843b refactor(server): update go modules 2024-09-08 10:49:13 +02:00
Cracked5pider e4455a5ff3 remove message that the service api has been disabled while it has been re-enabled 2023-12-06 14:13:25 +01:00
S4ntiagoP d47f5c8ee1 token make can now specify the logon type 2023-11-16 11:16:09 -03:00
S4ntiagoP e6edba7df5 fix last commit breaking BOFs with no params
UploadMemFileInChunks now allows FileData of 0 bytes
2023-11-15 10:33:57 -03:00
Cracked5pider 1cb4152b63 added 'sleep jmp gadget' to the agent 2023-11-13 21:10:45 +01:00
Cracked5pider b9e9f76705 change project src folders 2023-11-13 13:46:57 +01:00
S4ntiagoP 12025ead0f chunk BOFs parameters
this is important because some BOFs such as
noconsolation can have an entire PE as parameter
2023-11-10 15:45:40 -03:00
Cracked5pider 4bff9613fc update havoc version number and name. Havoc 0.7 [Bites the Dust] 2023-11-06 10:25:18 +01:00
S4ntiagoP 2139f7a071 rportfwd: only open/read client if we have something to write
this fixes a bug in which multiple clients were connected to the
target address:port without never writing anything
this only allowed once succesfull interaction from windows
after this change, the service can be used multiple times
2023-10-14 13:37:12 -03:00
S4ntiagoP 93ef75cf5d small refactor 2023-10-13 22:43:02 -03:00
S4ntiagoP 6ea2b483b5 fix minor bug 2023-10-13 21:49:30 -03:00
S4ntiagoP e2e37f73e9 add a mutex for rportfwd sockets plus minor changes 2023-10-13 21:47:16 -03:00
S4ntiagoP 4a8b0faa03 fix rportfwd remove <socket id> 2023-10-13 16:05:37 -03:00
S4ntiagoP d3e10cb6e1 rportfwd: free all client sockets created by parent 2023-10-13 15:48:51 -03:00
S4ntiagoP 942da9e254 improve 'proc grep <name>'
the proc name can is now case insensitive and does not need to be
the full process name
'proc grep shell' will match both ShellExperienceHost.exe and powershell.exe
2023-10-10 17:43:22 -03:00
S4ntiagoP f7fe13de65 recommend "sleep 0" while "socks add <port>" 2023-10-10 17:11:07 -03:00
Steve S b741882a9c Update agent.go
Fixed 3rd party agent OS version handling
2023-10-09 14:20:00 -07:00
Steve S 7bff63633b Update handlers.go
Added callback time updates to 3rd party agents
2023-10-09 14:18:49 -07:00
Adam 98f91f03d7 * Update docker files due to assumed changes to the upstream golang base image 2023-10-05 18:47:11 -05:00
infosec guy 48bbba2e2f Merge pull request #399 from h00die/codespell
codespell across project
2023-10-01 22:01:41 -03:00
S4ntiagoP 907022b985 now COMMAND_PACKAGE_DROPPED doesn't finish the request 2023-10-01 21:05:23 -03:00
S4ntiagoP 459cead805 fix bug while downloading big files in SMB agents
the chunk size was bigger than the pipe buffer
2023-10-01 20:24:30 -03:00
S4ntiagoP a6718fd92b only send alive demons to new clients 2023-10-01 17:20:14 -03:00
S4ntiagoP 03d7460d84 small refactor 2023-10-01 16:35:14 -03:00
S4ntiagoP 4e6bd43601 fix 'last call' display issue for new clients
if the client disconnects and reconnects, old demons did not display
the 'Last' column properly

also, the TS no longer sends the 'Last' value to all clients on each
second, it is the client that updates its on each second
2023-10-01 15:58:04 -03:00
h00die 61ef61257f codespell across project 2023-09-28 07:37:27 -04:00
S4ntiagoP 77aba83a4a fix rportfwd 2023-09-27 21:10:16 -03:00
S4ntiagoP 91a758a276 notify the user that a package was discarded 2023-09-27 12:14:27 -03:00
S4ntiagoP 7ee134b16f make dir /b more space efficient 2023-09-26 18:36:22 -03:00
S4ntiagoP 209ffcb6d5 fix a few pivot issues 2023-09-25 21:07:52 -03:00
infosec guy 1836044279 Merge pull request #395 from evilc0d3r/dev
Add mv command to Move file
2023-09-06 15:26:05 -03:00
S4ntiagoP 5118b1c379 fix issue with proc list
Fixes: https://github.com/HavocFramework/Havoc/issues/393
2023-09-06 15:22:44 -03:00
Evil Coder 4488e339e7 Add mv command to Move file 2023-09-06 12:58:26 -04:00
S4ntiagoP 963b7d7868 add sanity checks for 'socks add <port>'
make sure port is valid, and doesn't exists already
2023-09-01 16:10:09 -03:00
winds0r 7147e53426 fix(server): adding missing service import 2023-08-29 20:37:59 +02:00
C5pider c96db079a2 Merge pull request #384 from 0xTriboulet/main
Update 3rd Party Agent Support
2023-08-25 17:10:26 +02:00
Steve S 0762cdafc7 Update agent.go
Added HealthUI support for 3rd party agents
2023-08-20 12:35:03 -07:00
S4ntiagoP bffa83ac4e refactor dir command 2023-08-20 14:17:46 -03:00
Steve S 9a3307d419 Update teamserver.go
Enable 3rd Party Agent Support.

Uncomment relevant teamserver capability to enable 3rd party agent connectivity.
2023-08-20 09:21:13 -07:00
S4ntiagoP 4d06898705 improve output of dir command 2023-08-18 11:46:24 -03:00
S4ntiagoP d12d5572b6 rewrite "dir" command
- add support for recursive mode: /s
- add support for list files only: /f
- add support for list dirs only: /d
- add support for simple list output: /b
- add support for find files/folders that start with some str: /starts
- add support for find files/folders that constains some str: /constains
- add support for find files/folders that ends with some str: /ends

the idea is to make it possible to look for interesting files, such as
powershell scripts or text files
2023-08-17 23:23:08 -03:00
Iieitaimus fc8f744392 Merge branch 'HavocFramework:dev' into dev 2023-08-14 16:50:30 +02:00
Cracked5pider 4b1a7c8759 updated readme and removed service api for this release 2023-08-14 00:09:33 +02:00
jatutylkosprzatam b81bb6c118 fix typo 2023-08-13 01:05:17 +02:00
S4ntiagoP 3292237b3b refactor 'download' functionality
remove a few "TODOs", fix small issues
2023-08-05 23:36:04 -03:00
S4ntiagoP d054e7327a refactor 'token find' 2023-08-04 12:39:40 -03:00
S4ntiagoP d692399a64 add samdump to client 2023-08-04 11:43:23 -03:00
S4ntiagoP b6f32cb974 Hosts and HostBind now support interface names
this makes creating profiles a bit easier
you can just set an interface like tun0 and
forget about IPs
2023-07-16 22:02:15 -03:00
BlackTrace f5d92f1151 [fix] map race bug 2023-07-09 18:51:50 +08:00