This file contains hidden or 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
hostnamectl set-hostname <newhostname> |
This file contains hidden or 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
apt update | |
apt install curl -y | |
cd /usr/share/wazuh-indexer/plugins/opensearch-security/tools/ | |
chmod +x ./wazuh-passwords-tool.sh | |
./wazuh-passwords-tool.sh --change-all |
This file contains hidden or 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
systemctl --type=service --state=running |
This file contains hidden or 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
ln -sfn /dev/null /etc/motd.d/cockpit |
This file contains hidden or 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
bcdedit /set {default} recoveryenabled no |
This file contains hidden or 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
Remove-MailboxUserConfiguration -Mailbox [email protected] -Identity Configuration\IPM.Configuration.Search.QueryHistoryInput | |
Remove-MailboxUserConfiguration -Mailbox [email protected] -Identity Configuration\IPM.Configuration.OWA.AutocompleteCache | |
Remove-MailboxUserConfiguration -Mailbox [email protected] -Identity Configuration\IPM.Configuration.Search.TopN | |
Remove-MailboxUserConfiguration -Mailbox [email protected] -Identity Configuration\IPM.Configuration.OWA.ViewStateConfiguration |
This file contains hidden or 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
smbclient -L "//NETWORKIP/NETWORKSHARE" -U "DOMAIN\USER%PASSWORD" -m SMB2 |
This file contains hidden or 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
New-MoveRequest -Identity [email protected] -TargetDatabase TARGETDATABASE |
This file contains hidden or 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
Get-Mailbox -Database ORIGINDATABASE -ResultSize Unlimited | New-MoveRequest -TargetDatabase TARGETDATABASE |
This file contains hidden or 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
w32tm.exe /config /manualpeerlist:"3.pt.pool.ntp.org 1.europe.pool.ntp.org 3.europe.pool.ntp.org" /syncfromflags:manual /reliable:YES /update |