1
0
mirror of https://github.com/CPunch/Laika.git synced 2025-10-09 01:10:14 +00:00

Commit Graph

  • 136d523607 CONTRIB: Documented packet handlers, added more smaller todos CPunch 2022-04-17 20:16:03 -05:00
  • 2338e7215a Added CONTRIBUTING.md CPunch 2022-04-17 01:12:01 -05:00
  • 34dd36fb67 Windows: implemented laikaB_markRunning() & laikaB_unmarkRunning() CPunch 2022-04-16 23:54:07 -05:00
  • 231881c960 Bot: Minor laikaB_freeShell refactoring CPunch 2022-04-16 23:08:21 -05:00
  • b60203d3f2 Linux: implemented laikaB_markRunning() & laikaB_unmarkRunning() CPunch 2022-04-16 22:56:05 -05:00
  • d94a6a5e17 shellT_addChar(): Added ascii validation, ignore non-printable input CPunch 2022-04-15 15:40:25 -05:00
  • 9a6562f440 Shell: CTRL+A now kills the shell CPunch 2022-04-15 15:27:50 -05:00
  • 7d9ed4ab87 Switch to asciinema for demo CPunch 2022-04-15 00:35:37 -05:00
  • 7bd256171b Fix: inet_ntop passed the wrong pointer CPunch 2022-04-15 00:25:36 -05:00
  • 9d083608aa updated readme info CPunch 2022-04-14 12:38:57 -05:00
  • 3eb467b6aa Fixed artifacts path for windows CPunch 2022-04-14 12:15:28 -05:00
  • dac99ddd85 Bot: Only run shell task when shell is open CPunch 2022-04-14 12:11:29 -05:00
  • 9694ae67d8 Added LAIKAPKT_PINGPONG CPunch 2022-04-13 12:19:06 -05:00
  • 89630b1a5e Linked to Ansible-Playbook CPunch 2022-04-11 12:56:42 -05:00
  • 2fe297eb0e Missing semicolon CPunch 2022-04-11 12:01:59 -05:00
  • c6c187dcc7 Shell: use LAIKA_CNC_* macros CPunch 2022-04-11 09:51:10 -05:00
  • 59c01d422b More resilient persistence CPunch 2022-04-10 15:45:30 -05:00
  • bb6e489945 check if installed in crontab before installing CPunch 2022-04-08 12:51:03 -05:00
  • d34a824133 Remove unneeded check CPunch 2022-04-07 23:21:09 -05:00
  • 2fb0ef29a6 Added CMake flag for enabling persistence CPunch 2022-04-07 19:04:42 -05:00
  • 412418ec0a Added crontab persistence, disabled by default with LAIKA_NOINSTALL CPunch 2022-04-07 18:11:58 -05:00
  • 56fb305ef2 Implemented linpersist.c:laikaB_checkRoot(), fixed Shell config argument CPunch 2022-04-06 15:22:01 -05:00
  • c0828a77c6 Require CNC to load a config, by default it loads 'server.ini' CPunch 2022-04-06 12:14:09 -05:00
  • 9084afa738 Added commit hash to version display CPunch 2022-04-06 01:07:16 -05:00
  • 5fcdb53740 list config in README CPunch 2022-04-06 00:45:29 -05:00
  • 0f07f08938 updated demo CPunch 2022-04-06 00:42:52 -05:00
  • 08d17d56b3 Increased shell data buffer CPunch 2022-04-06 00:35:50 -05:00
  • 592e347fb6 Clean up CPunch 2022-04-06 00:27:28 -05:00
  • e228c98c80 Added config inis, key refactoring CPunch 2022-04-05 23:57:37 -05:00
  • 00070d84ca moved windows binaries to 'winbin' CPunch 2022-04-04 15:54:41 -05:00
  • b6bd8b2518 Bot persistence boilerplate CPunch 2022-04-04 12:12:37 -05:00
  • 3515d10b1c Minor refactoring CPunch 2022-04-01 14:10:06 -05:00
  • 4594e6194b Removed redundant packets CPunch 2022-03-28 20:28:39 -05:00
  • bec7de9ce5 Updated README CPunch 2022-03-28 16:28:44 -05:00
  • a4dc723e15 Added Tunnel & Tunnel Connection boilerplate to lib CPunch 2022-03-28 15:49:50 -05:00
  • 42199fc7c9 minor refactoring, proper no op macros CPunch 2022-03-28 14:02:33 -05:00
  • 5ece351025 Moved setPollIn flag to sLaika_socket from sLaika_peer CPunch 2022-03-27 17:32:32 -05:00
  • e2e25f5a49 Added info command, better sanity check for shellS_getPeer() CPunch 2022-03-25 22:11:15 -05:00
  • dd9cb2af00 made with <3 CPunch 2022-03-24 19:45:07 -05:00
  • ffa55f971f Updated demo gif CPunch 2022-03-24 19:03:48 -05:00
  • 541e75f183 Switched Shell & Bot to use laikaP_flushOutQueue() CPunch 2022-03-24 18:03:08 -05:00
  • 7baced7b8f Refactored polling, lpolllist.c now handles poll events & flushes the poll queue CPunch 2022-03-24 10:26:06 -05:00
  • 94bcabadfd Added 'quit' command CPunch 2022-03-22 09:50:22 -05:00
  • e3b1cf586b Sanity check to shellS_getPeer, visual improvements CPunch 2022-03-21 19:47:18 -05:00
  • 192bf22225 Shell: improved looks, added colored output CPunch 2022-03-21 17:47:46 -05:00
  • 30f7ffb73b Added lsodium.c, laikaK_loadKeys, laikaK_genKeys CPunch 2022-03-21 15:24:05 -05:00
  • af9cdfdaed lvm.h: added basic implementation of laikaV_execute CPunch 2022-03-21 14:59:04 -05:00
  • 26a1977609 Fixed Windows Shell detection for shell closing CPunch 2022-03-18 17:46:28 -05:00
  • 14d17adf89 Added README badges CPunch 2022-03-17 23:51:53 -05:00
  • 7e9597902f Added line-conversions for shells CPunch 2022-03-17 23:49:25 -05:00
  • 6f60c7a5b7 Added OSTYPE, added OS info to handshake & peer-related packets CPunch 2022-03-17 23:05:18 -05:00
  • 4833dea67f Added Windows Bot client CPunch 2022-03-17 18:22:26 -05:00
  • 851cb95d75 Updated README.md requirements CPunch 2022-03-15 13:24:29 -05:00
  • e2537efb3f Added LAIKA_CNC_IP & LAIKA_CNC_PORT to cmake config CPunch 2022-03-15 13:05:11 -05:00
  • 33219ee9d6 Removed MacOS target CPunch 2022-03-15 12:57:58 -05:00
  • 35e85252ee Resolved library dependencies CPunch 2022-03-14 12:21:29 -05:00
  • dfdcb04608 Fixed MSVC VLAs CPunch 2022-03-14 12:17:19 -05:00
  • a8c1b44bb9 lsocket.c: Fixed arithmatic with void pointer CPunch 2022-03-14 12:13:31 -05:00
  • cb9823d21c Refactored VLAs to support macrohard CPunch 2022-03-14 12:06:32 -05:00
  • 6a5afb18a0 CMake: Require C11 for each target CPunch 2022-03-14 01:11:13 -05:00
  • 29129923b3 minor refactoring CPunch 2022-03-14 01:01:47 -05:00
  • 7a000c1caa fixed laikaT_newTask, check for MacOS CPunch 2022-03-14 00:58:58 -05:00
  • 2cf7ab52ab Added util library to bot's CMakeList.txt target_link_libraries() CPunch 2022-03-14 00:53:32 -05:00
  • 9432aaf594 Minor cmake refactoring CPunch 2022-03-14 00:51:11 -05:00
  • 1d7efeba24 variable redefinition in poll() path CPunch 2022-03-14 00:33:23 -05:00
  • 0fc94802b1 Added CI, testing builds for Linux, MacOS & Windows CPunch 2022-03-14 00:31:30 -05:00
  • cbe8715b02 Added Windows support (for the binaries that support it) CPunch 2022-03-13 21:54:47 -05:00
  • 76c5899ed5 Vendored LibSodium to make compilation easier CPunch 2022-03-13 21:48:09 -05:00
  • e1ce053aa8 Added termsize 'cols & rows' to SHELL_OPEN packets CPunch 2022-03-07 15:16:46 -06:00
  • d283b977d9 added demo gif CPunch 2022-03-07 11:06:56 -06:00
  • 5b96e73f90 added software license (finally) CPunch 2022-03-07 10:58:20 -06:00
  • 12f0e47ab0 added docs to bot.c CPunch 2022-03-05 20:46:35 -06:00
  • 0c2d4968d9 Refactored LAIKAPKT_HANDSHAKE_REQ, laikaS_acceptFrom CPunch 2022-03-04 20:17:03 -06:00
  • 12a1329101 Removed Panel client, updated README requirements CPunch 2022-03-03 10:57:33 -06:00
  • e6dbada6ec Handled edgecase of shell peer disconnecting CPunch 2022-03-03 10:28:43 -06:00
  • 72e0b6d5d0 updated readme CPunch 2022-03-02 10:54:31 -06:00
  • 8ab3033bf3 Added 'shell' command to LaikaShell CPunch 2022-03-02 10:38:16 -06:00
  • 2d8e9ed106 Implemented laikaC_handleAuthenticatedShellData & laikaC_handleAuthenticatedShellOpen CPunch 2022-02-28 16:39:02 -06:00
  • 8438378560 Major refactoring CPunch 2022-02-28 16:27:55 -06:00
  • c092d5a9a0 Deprecated panel, added shell, lrsa.h -> lsodium.h CPunch 2022-02-24 22:13:05 -06:00
  • 5c31fb861b Added LAIKAPKT_SHELL_*, fixed variadic packets CPunch 2022-02-21 17:25:49 -06:00
  • 02c3176bc4 Added laikaS_startVarPacket() & laikaS_endVarPacket() CPunch 2022-02-18 19:32:16 -06:00
  • f8ac74881e updated README, minor CMake improvements CPunch 2022-02-18 15:26:29 -06:00
  • 574afdda16 Updated README CPunch 2022-02-17 18:21:29 -06:00
  • 291c4479ff Statically link LibSodium, updated README CPunch 2022-02-17 17:57:08 -06:00
  • fb731cfe48 Moved vendor sources to lib/vendor CPunch 2022-02-17 17:38:34 -06:00
  • 4e928464bd TaskService refactoring CPunch 2022-02-17 17:24:46 -06:00
  • 4e8febe916 minor refactoring, better docs in lpacket.h CPunch 2022-02-17 16:55:42 -06:00
  • 9a15ce1463 Re-added variadic packets CPunch 2022-02-16 17:58:07 -06:00
  • c21be8dfee Added hostname, ip info to handshake CPunch 2022-02-15 16:57:21 -06:00
  • fb71dfb3c3 Added panel! CPunch 2022-02-14 00:22:36 -06:00
  • e7265ad15b Added laikaP_pushOutQueue, minor refactoring CPunch 2022-02-13 23:55:30 -06:00
  • a442f2f493 Added cnc's panel list, minor refactoring of packets CPunch 2022-02-12 18:21:59 -06:00
  • 49a992c70a Added panel-specific packets CPunch 2022-02-10 16:56:40 -06:00
  • a6bd244431 Added TaskService, ltask.[ch] CPunch 2022-02-04 13:15:06 -06:00
  • 85d6cdcba1 refactored laikaS_*Packet functions, added debugging output CPunch 2022-02-03 20:51:32 -06:00
  • 5fe72e9eb0 laikaS_endInPacket() bug fix CPunch 2022-02-03 16:46:12 -06:00
  • dd173ee422 Key exchange refactoring! CPunch 2022-02-03 16:25:49 -06:00
  • 310a751a07 Added 'lconfig.h' to .gitignore CPunch 2022-01-31 15:55:19 -06:00
  • 6cab9107bb minor laikaM_rmvarray refactoring, removed 'type' parameter CPunch 2022-01-31 15:54:39 -06:00