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
┌──(kali㉿kali)-[/opt/nessus/lib/nessus/plugins] | |
└─$ ls -Ralrt ~/.cache/huggingface/hub | |
/home/kali/.cache/huggingface/hub: | |
total 20 | |
drwxr-xr-x 3 kali kali 4096 Jun 25 16:11 .. | |
drwxr-xr-x 5 kali kali 4096 Jun 25 16:11 models--star23--baller12 | |
drwxr-xr-x 5 kali kali 4096 Jun 26 23:14 . | |
drwxr-xr-x 4 kali kali 4096 Jun 26 23:14 .locks | |
drwxr-xr-x 5 kali kali 4096 Jun 26 23:14 models--JungleLee--bert-toxic-comment-classification |
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
┌──(venv_1618876490)─(kali㉿kali)-[/opt/nessus/lib/nessus/plugins] | |
└─$ find '/home/kali/.cache/huggingface' -maxdepth 9 -type l | |
/home/kali/.cache/huggingface/hub/models--star23--baller12/snapshots/36480cdde72544e50c2294b5a5918a552139995a/tokenizer.model | |
/home/kali/.cache/huggingface/hub/models--star23--baller12/snapshots/36480cdde72544e50c2294b5a5918a552139995a/tokenizer_config.json | |
/home/kali/.cache/huggingface/hub/models--star23--baller12/snapshots/36480cdde72544e50c2294b5a5918a552139995a/generation_config.json | |
/home/kali/.cache/huggingface/hub/models--star23--baller12/snapshots/36480cdde72544e50c2294b5a5918a552139995a/.gitattributes | |
/home/kali/.cache/huggingface/hub/models--star23--baller12/snapshots/36480cdde72544e50c2294b5 |
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
include("compat.inc"); | |
if(description) | |
{ | |
script_id(999001); | |
script_version("1.0"); | |
script_set_attribute(attribute:"plugin_modification_date", value:"2024/06/25"); | |
script_name(english: "Execute ModelScan Checks against AI/LLM files"); | |
script_summary(english: "This opensource nasl plugin downloads & executes the open-source ModelScan |
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
$ nasl -k /tmp/kb -aWXt localhost -I ./ -X /home/kali/Desktop/open-nasl/modelscan.cpp | |
[2024-06-26 04:52:13] pread_wrapper(): Running "/bin/sh" on the scanner localhost using pread_ex(). | |
{"plugin": "modelscan.cpp", "command": "which -a pip 2>/dev/null", "response": "/tmp/venv/bin/pip\n/usr/bin/pip\n/bin/pip\n", "hostname": "localhost"} | |
[2024-06-26 04:52:13] ldnix::get_command_path(): Successfully returning | |
DETAILS: | |
Path: make_nested_list( | |
'/tmp/venv/bin/pip', | |
'/usr/bin/pip', | |
'/bin/pip' | |
) |
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
Test the Cyber Range LifeCycle using the CommandCenter docker container. | |
1. start the AWS Cyber Range CommandCenter docker container. Export your keys then run the container. | |
export aws_access_key_id=example_access_key_id | |
export aws_secret_access_key=example_secret_key | |
docker run -it -e AWS_ACCESS_KEY_ID=$aws_access_key_id -e AWS_SECRET_ACCESS_KEY=$aws_secret_access_key awscyberrange/commandcenter:latest /bin/bash | |
2. update the variables.tf and add your external IP address the ip is located in https://github.com/secdevops-cuse/CyberRange/tree/master/terraform/modules/infrastructure/secdevops/variables.tf#L1 (edited) | |
3. Perform the following steps |
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
version: '2' | |
services: | |
mariadb: | |
image: 'bitnami/mariadb:latest' | |
environment: | |
- ALLOW_EMPTY_PASSWORD=yes | |
- MARIADB_USER=bn_magento | |
- MARIADB_PASSWORD=magento | |
- MARIADB_DATABASE=magento |
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
http://apigen.juzna.cz/doc/Behat/Mink/index.html |
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
setup your workspace the way you want and then save the arrangement to use it again later. | |
To create a new pane: | |
* use Command + Shift + D for a horizontal split. | |
* use Command + D for a vertical split. | |
* use Command + [ or ] to Select the previous ([) or next (]) pane. | |
* use Command + Shift + S to save the window arrangement. | |
* use Command + Shift + R to launch your default arrangement. | |
* use Command + Shift + Enter to Maximize the active pane. | |
* use Command + Option + [Arrow Key] to Switch to the next pane in that direction. |
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
https://alestic.com/2014/01/ec2-ssh-username/ | |
SSh User Names & OS matrix |