-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4416b8f
commit 1a18476
Showing
12 changed files
with
589 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* | ||
* Copyright (c) 2023, Rafael Santiago | ||
* All rights reserved. | ||
* | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
#include <cmd/hooks/macgonuts_caleaboqui_deinit_hook.h> | ||
#include <macgonuts_status_info.h> | ||
|
||
int macgonuts_caleaboqui_deinit_hook(struct macgonuts_spoofing_guidance_ctx *spfgd, | ||
const unsigned char *ethfrm, const size_t ethfrm_size) { | ||
macgonuts_si_mode_leave_announce("caleaboqui"); | ||
return EXIT_SUCCESS; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* Copyright (c) 2023, Rafael Santiago | ||
* All rights reserved. | ||
* | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
#ifndef MACGONUTS_CMD_MACGONUTS_CALEABOQUI_DEINIT_HOOK_H | ||
#define MACGONUTS_CMD_MACGONUTS_CALEABOQUI_DEINIT_HOOK_H 1 | ||
|
||
#include <macgonuts_types.h> | ||
|
||
int macgonuts_caleaboqui_deinit_hook(struct macgonuts_spoofing_guidance_ctx *spfgd, | ||
const unsigned char *ethfrm, const size_t ethfrm_size); | ||
|
||
#endif // MACGONUTS_CMD_MACGONUTS_CALEABOQUI_DEINIT_HOOK_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* Copyright (c) 2023, Rafael Santiago | ||
* All rights reserved. | ||
* | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
#include <cmd/hooks/macgonuts_caleaboqui_done_hook.h> | ||
#include <macgonuts_status_info.h> | ||
|
||
int macgonuts_caleaboqui_done_hook(struct macgonuts_spoofing_guidance_ctx *spfgd, | ||
const unsigned char *ethfrm, const size_t ethfrm_size) { | ||
assert(spfgd->usrinfo.tg_address != NULL); | ||
macgonuts_si_print("internet access from `%s` was cut off.\n", spfgd->usrinfo.tg_address); | ||
return EXIT_SUCCESS; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* Copyright (c) 2023, Rafael Santiago | ||
* All rights reserved. | ||
* | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
#ifndef MACGONUTS_CMD_MACGONUTS_CALEABOQUI_DONE_HOOK_H | ||
#define MACGONUTS_CMD_MACGONUTS_CALEABOQUI_DONE_HOOK_H 1 | ||
|
||
#include <macgonuts_types.h> | ||
|
||
int macgonuts_caleaboqui_done_hook(struct macgonuts_spoofing_guidance_ctx *spfgd, | ||
const unsigned char *ethfrm, const size_t ethfrm_size); | ||
|
||
#endif // MACGONUTS_CMD_MACGONUTS_CALEABOQUI_DONE_HOOK_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* | ||
* Copyright (c) 2023, Rafael Santiago | ||
* All rights reserved. | ||
* | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
#include <cmd/hooks/macgonuts_caleaboqui_init_hook.h> | ||
#include <macgonuts_status_info.h> | ||
|
||
int macgonuts_caleaboqui_init_hook(struct macgonuts_spoofing_guidance_ctx *spfgd, | ||
const unsigned char *ethfrm, const size_t ethfrm_size) { | ||
macgonuts_si_mode_enter_announce("caleaboqui"); | ||
return EXIT_SUCCESS; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* Copyright (c) 2023, Rafael Santiago | ||
* All rights reserved. | ||
* | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
#ifndef MACGONUTS_CMD_MACGONUTS_CALEABOQUI_INIT_HOOK_H | ||
#define MACGONUTS_CMD_MACGONUTS_CALEABOQUI_INIT_HOOK_H 1 | ||
|
||
#include <macgonuts_types.h> | ||
|
||
int macgonuts_caleaboqui_init_hook(struct macgonuts_spoofing_guidance_ctx *spfgd, | ||
const unsigned char *ethfrm, const size_t ethfrm_size); | ||
|
||
#endif // MACGONUTS_CMD_MACGONUTS_CALEABOQUI_INIT_HOOK_H |
Oops, something went wrong.