Commit Graph

94 Commits

Author SHA1 Message Date
CPunch 00070d84ca moved windows binaries to 'winbin' 2022-04-04 15:54:41 -05:00
CPunch b6bd8b2518 Bot persistence boilerplate 2022-04-04 12:12:37 -05:00
CPunch 3515d10b1c Minor refactoring 2022-04-01 14:10:06 -05:00
CPunch 4594e6194b Removed redundant packets 2022-03-28 20:28:39 -05:00
CPunch bec7de9ce5 Updated README 2022-03-28 16:28:44 -05:00
CPunch a4dc723e15 Added Tunnel & Tunnel Connection boilerplate to lib 2022-03-28 15:49:50 -05:00
CPunch 42199fc7c9 minor refactoring, proper no op macros 2022-03-28 14:02:33 -05:00
CPunch 5ece351025 Moved setPollIn flag to sLaika_socket from sLaika_peer 2022-03-27 17:32:32 -05:00
CPunch e2e25f5a49 Added info command, better sanity check for shellS_getPeer() 2022-03-25 22:11:15 -05:00
CPunch dd9cb2af00 made with <3 2022-03-24 19:45:07 -05:00
CPunch ffa55f971f Updated demo gif 2022-03-24 19:03:48 -05:00
CPunch 541e75f183 Switched Shell & Bot to use laikaP_flushOutQueue()
- they both now have handlers for onPollFail
2022-03-24 18:03:08 -05:00
CPunch 7baced7b8f Refactored polling, lpolllist.c now handles poll events & flushes the poll queue
- Sockets now have event callbacks, onPollIn, onPollOut & onPollFail. If these are set to NULL they're ignored
2022-03-24 10:26:06 -05:00
CPunch 94bcabadfd Added 'quit' command 2022-03-22 09:50:22 -05:00
CPunch e3b1cf586b Sanity check to shellS_getPeer, visual improvements 2022-03-21 19:47:18 -05:00
CPunch 192bf22225 Shell: improved looks, added colored output 2022-03-21 17:47:46 -05:00
CPunch 30f7ffb73b Added lsodium.c, laikaK_loadKeys, laikaK_genKeys 2022-03-21 15:24:05 -05:00
CPunch af9cdfdaed lvm.h: added basic implementation of laikaV_execute 2022-03-21 14:59:04 -05:00
CPunch 26a1977609 Fixed Windows Shell detection for shell closing
- updated demo.gif
2022-03-18 17:46:28 -05:00
CPunch 14d17adf89 Added README badges 2022-03-17 23:51:53 -05:00
CPunch 7e9597902f Added line-conversions for shells 2022-03-17 23:49:25 -05:00
CPunch 6f60c7a5b7 Added OSTYPE, added OS info to handshake & peer-related packets 2022-03-17 23:05:18 -05:00
CPunch 4833dea67f Added Windows Bot client
- Shells 'work' but line endings aren't converted yet so pressing enter doesn't work lol
2022-03-17 18:22:26 -05:00
CPunch 851cb95d75 Updated README.md requirements 2022-03-15 13:24:29 -05:00
CPunch e2537efb3f Added LAIKA_CNC_IP & LAIKA_CNC_PORT to cmake config 2022-03-15 13:05:11 -05:00
CPunch 33219ee9d6 Removed MacOS target 2022-03-15 12:57:58 -05:00
CPunch 35e85252ee Resolved library dependencies 2022-03-14 12:21:29 -05:00
CPunch dfdcb04608 Fixed MSVC VLAs 2022-03-14 12:17:19 -05:00
CPunch a8c1b44bb9 lsocket.c: Fixed arithmatic with void pointer 2022-03-14 12:13:31 -05:00
CPunch cb9823d21c Refactored VLAs to support macrohard 2022-03-14 12:06:32 -05:00
CPunch 6a5afb18a0 CMake: Require C11 for each target 2022-03-14 01:11:13 -05:00
CPunch 29129923b3 minor refactoring
- removed unused alloca.h header in lsocket.c
- fixed type cast warning in sterm.c
2022-03-14 01:01:47 -05:00
CPunch 7a000c1caa fixed laikaT_newTask, check for MacOS 2022-03-14 00:58:58 -05:00
CPunch 2cf7ab52ab Added util library to bot's CMakeList.txt target_link_libraries() 2022-03-14 00:53:32 -05:00
CPunch 9432aaf594 Minor cmake refactoring 2022-03-14 00:51:11 -05:00
CPunch 1d7efeba24 variable redefinition in poll() path 2022-03-14 00:33:23 -05:00
CPunch 0fc94802b1 Added CI, testing builds for Linux, MacOS & Windows 2022-03-14 00:31:30 -05:00
CPunch cbe8715b02 Added Windows support (for the binaries that support it) 2022-03-13 21:54:47 -05:00
CPunch 76c5899ed5 Vendored LibSodium to make compilation easier 2022-03-13 21:48:09 -05:00
CPunch e1ce053aa8 Added termsize 'cols & rows' to SHELL_OPEN packets 2022-03-07 15:16:46 -06:00
CPunch d283b977d9 added demo gif 2022-03-07 11:06:56 -06:00
CPunch 5b96e73f90 added software license (finally) 2022-03-07 10:58:20 -06:00
CPunch 12f0e47ab0 added docs to bot.c 2022-03-05 20:46:35 -06:00
CPunch 0c2d4968d9 Refactored LAIKAPKT_HANDSHAKE_REQ, laikaS_acceptFrom
- added inet member to peer structs
2022-03-04 20:17:03 -06:00
CPunch 12a1329101 Removed Panel client, updated README requirements 2022-03-03 10:57:33 -06:00
CPunch e6dbada6ec Handled edgecase of shell peer disconnecting
- minor refactor of shell client, added shellC_isShellOpen()
2022-03-03 10:28:43 -06:00
CPunch 72e0b6d5d0 updated readme 2022-03-02 10:54:31 -06:00
CPunch 8ab3033bf3 Added 'shell' command to LaikaShell
- another major refactoring
2022-03-02 10:38:16 -06:00
CPunch 2d8e9ed106 Implemented laikaC_handleAuthenticatedShellData & laikaC_handleAuthenticatedShellOpen 2022-02-28 16:39:02 -06:00
CPunch 8438378560 Major refactoring
lots and lots of changes. too many to list tbh, might rebase this commit later if i get bored enough.
2022-02-28 16:27:55 -06:00