Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development #54

Merged
merged 177 commits into from
Nov 3, 2023
Merged

Development #54

merged 177 commits into from
Nov 3, 2023

Conversation

whotwagner
Copy link
Contributor

No description provided.

whotwagner and others added 30 commits August 10, 2023 15:43
The global variablestore is a new way of storing and using variables.
It has a clear interface and will replace the varparse.
This commit activates the new VariableStore. All string-typed settings
of all Commands can now be templated with the variables of the
VariableStore.
This commit adds regex support. The regexexecutor allows to
read a variable, parse it using various regex functions and
to store the result in one or more output-variables.
This commit fixes a problem with mypy and registers the variable
LAST_MSF_SESSION when a msf session was created.
This commit adds a schema SliverImplantConfig and a rudimental
SliverImplantExecutor.
Sliver supports outputformats: SERVICE, SHELLCODE, SHARED_LIB and
EXECUTABLE.
Implants are saved to the /tmp file for now. Maybe later there will
be a management for multiple implant_paths.
* Added structures for sliverimplantexecutor

This commit adds a schema SliverImplantConfig and a rudimental
SliverImplantExecutor.

* fixed type on sliver_config.config_file

* replaced run with run_until_completed

* sliver: added prepare_implant_config()

* sliver: added delete_builds()

* sliver: added delete_builds()

* Added support for different Outputformats(Implant)

Sliver supports outputformats: SERVICE, SHELLCODE, SHARED_LIB and
EXECUTABLE.

* Added save-function for implants

Implants are saved to the /tmp file for now. Maybe later there will
be a management for multiple implant_paths.

* sliver: added filepath for implants

* added schema for slivercommands

* embedded sliver-executor

* updated sliver-executor

* sliver: extended config for start_https_listener

* sliver: extended config for start_https_listener

* sliver: added session-executor

* sliver: added session-executor

* sliver: added session-executor

* sliver: added session-executor

* sliver: added session-executor

* sliver: added session-executor

* sliver: fixed get_session_by_name

* sliver: fixed get_session_by_name

* sliver: fixed get_session_by_name

* sliver: fixed get_session_by_name

* sliver: fixed get_session_by_name

* sliver: fixed get_session_by_name

* sliver: fixed get_session_by_name

* sliver: fixed get_session_by_name

* sliver: fixed get_session_by_name

* sliver: fixed get_session_by_name

* sliver: add ifconfig

* sliver: add ifconfig

* sliver: add ifconfig

* sliver: add ifconfig

* sliver: add ifconfig

* sliver: add ifconfig

* sliver: add ps

* sliver: add ps

* sliver: add pwd

* sliver: add netstat

* sliver: add netstat

* sliver: add netstat

* sliver: add netstat

* sliver: add netstat

* sliver: add netstat

* sliver: add netstat

* sliver: add execute

* sliver: add execute

* sliver: add execute

* sliver: add execute

* sliver: add execute

* sliver: add download

* sliver: add download

* sliver: add download

* sliver: add download

* sliver: add download

* sliver: add download

* sliver: add download

* sliver: add upload

* sliver: add process_dump

* sliver: add process_dump

* sliver: add generate_implant

* sliver: add generate_implant

* sliver: add generate_implant

* sliver: add generate_implant

* sliver: add generate_implant

* sliver: add generate_implant

* sliver: removed implantexecutor

* sliver: refactored SliverSessionCommand

* sliver: refactored SliverSessionCommand

* sliver: refactored SliverCommand

* sliver: refactored SliverSessionCommand

* sliver: add rm

* sliver: add terminate

* sliver: added options for generate_implant

* sliver: blocking getsession_by_name

---------

Co-authored-by: Wolfgang Hotwagner <wolfgang.hotwagner@ait.ac.at>
* added save-setting for basecommands

* updated documentation

---------

Co-authored-by: Wolfgang Hotwagner <wolfgang.hotwagner@ait.ac.at>
* updated documentation

* updated documentation

---------

Co-authored-by: Wolfgang Hotwagner <wolfgang.hotwagner@ait.ac.at>
In order to make the playbooks portable, this commit seperates
the config part from the playbook.
When executing a msf-session command that utilize netcat shells,
the commands will fail and raise TypeError exceptions.
This commit adds a workaround so that if this exception occurs,
then the msf-session command tries to execute the command again
using a raw-write and reads the output using a raw-read.

Another change is, that it is now possible to use "write: True" and
"read: True" together. The command will first write and then read.
@whotwagner whotwagner merged commit 9742b7c into main Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant