diff --git a/useful-commands.txt b/useful-config-info.txt similarity index 72% rename from useful-commands.txt rename to useful-config-info.txt index e9892e8..c66a4bd 100644 --- a/useful-commands.txt +++ b/useful-config-info.txt @@ -1,26 +1,41 @@ ######################### Connection setup tips: ######################### - # Quick connection syntax (Windows 10 RDP) rdp://user@xxx.xxx.xxx.xxx/?security=nla&ignore-cert=true -# To make recorded sessions available from the login page - Install the history-recording-storage option, then set recording paths in connection profiles to: - ${HISTORY_PATH}/${HISTORY_UUID} - tick "automatically create recording path" +# To view links to recorded sessions from within the connection history page: + 1. Install the history-recording-storage option + 2. For each connection configuration profile, in the Screen Recording section set: + Recording Path = ${HISTORY_PATH}/${HISTORY_UUID} + Automatically create recording path = tick -# To create a quasi SSO pass through for LDAP and others.. - Add the parameter token ${GUAC_USERNAME} to the Username field for each connection profile - Add the parameter token ${GUAC_PASSWORD} to the Password field for each connection profile +# To create a quasi SSO pass through for LDAP and others, for each connection configuration profile: + Add ${GUAC_USERNAME} to the Username field for each connection profile + Add ${GUAC_PASSWORD} to the Password field for each connection profile +#################### +Guacamole Debug mode +#################### +sudo systemctl stop guacd && sudo /usr/local/sbin/guacd -L debug -f #Verbose logs will start in the console. + + +################################################ +Switch to Debian Testing repo +(upgrade/bugfix beyond a current stable package) +################################################ +sudo apt update && sudo apt upgrade -y # Update first +sudo cp /etc/apt/sources.list sources.list.backup # Backup sources list +sudo sed -i 's/bullseye/testing/g' /etc/apt/sources.list # Switch to testing + +sudo nano /etc/apt/sources.list # Now manually edit + comment out all lines having "security.debian.org" + comment out all lines that end with "updates" + add this line: deb http://security.debian.org testing-security main + +sudo apt update && sudo apt-get install --only-upgrade libssh2-1-dev # update an individual package -######################### -Nginx load / DoS testing -######################### -https://ourcodeworld.com/articles/read/949/how-to-perform-a-dos-attack-slow-http-with-slowhttptest-test-your-server-slowloris-protection-in-kali-linux -slowhttptest -c 10000 -H -g -o ./output_file -i 3 -r 500 -t GET -u http://jumpbox.domain.com -x 24 -p 2 ############################################### @@ -52,23 +67,9 @@ UPDATE guacamole_user_attribute SET attribute_value='false' WHERE attribute_name quit; -#################### -Guacamole Debug mode -#################### -sudo systemctl stop guacd && sudo /usr/local/sbin/guacd -L debug -f -Verbose logs will start in the console. +######################### +Nginx load / DoS testing +######################### +https://ourcodeworld.com/articles/read/949/how-to-perform-a-dos-attack-slow-http-with-slowhttptest-test-your-server-slowloris-protection-in-kali-linux +slowhttptest -c 10000 -H -g -o ./output_file -i 3 -r 500 -t GET -u http://jumpbox.domain.com -x 24 -p 2 - -############################## -Switch to Debian Testing repo -############################## -sudo apt update && sudo apt upgrade -y # Update first -sudo cp /etc/apt/sources.list sources.list.backup # Backup sources list -sudo sed -i 's/bullseye/testing/g' /etc/apt/sources.list # Switch to testing - -sudo nano /etc/apt/sources.list # Now manually edit - comment out all lines having "security.debian.org" - comment out all lines that end with "updates" - add this line: deb http://security.debian.org testing-security main - -sudo apt update && sudo apt-get install --only-upgrade libssh2-1-dev # update an individual package \ No newline at end of file