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
| ========================================================================================================== | |
| SPF Record Lookup | |
| DMARC Lookup | |
| https://mxtoolbox.com | |
| https://www.dnsinspect.com | |
| ========================================================================================================== | |
| #testing verification | |
| PHPMailer | |
| https://emkei.cz/ |
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
| ========================================================================================================== | |
| #Allow Recursive Queries ? | |
| https://www.dnsinspect.com | |
| ========================================================================================================== | |
| #ChatGPT | |
| Here's an example of how you can perform manual tests using nslookup from a client machine to verify that the DNS server denies recursive queries after disabling recursion and forwarders: | |
| Disable recursion and forwarders on the Windows Server 2016 Datacenter DNS server as mentioned previously. |
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
| variable "version" { | |
| type = string | |
| default = "" | |
| } | |
| locals { timestamp = regex_replace(timestamp(), "[- TZ:]", "") } | |
| source "vagrant" "autogenerated_1" { | |
| add_force = true | |
| communicator = "ssh" |
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 sys status | |
| Get general information: firmware version, serial number, ADOMs enabled or not, time and time zone, general license status (Valid or not). | |
| get sys performance | |
| Detailed performance statistics: CPU load, memory usage, hard disk/flash disk used space and input/output (iostat) statistics. |
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
| #===================================================================== | |
| #!/bin/bash | |
| #wpscan.sh scan wordpress websites in subdomains/URLs | |
| while read url; do | |
| echo "Scanning URL: $url" | |
| if curl --output /dev/null --silent --head --fail "$url"; then | |
| wpscan_output=$(wpscan --url "$url" | grep "WordPress version") | |
| if [ -z "$wpscan_output" ]; then | |
| echo "This $url does not run WordPress" |
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
| #===================================================================== | |
| show version | |
| show os-version | |
| show system | |
| #===================================================================== | |
| #ChatGPT | |
| The output of the show version command on the Dell Networking Switch N1548P provides information about the machine description, system model, serial number, hardware version, and software versions. Here's an explanation of each field in the given output: | |
| Machine Description: Indicates that it is a Dell Networking Switch. |
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
| #===================================================================== | |
| #CIS benchmark | |
| https://www.cisecurity.org/benchmark/fortinet | |
| #===================================================================== | |
| Packet flow ingress and egress: FortiGates without network processor offloading | |
| https://docs.fortinet.com/document/fortigate/6.4.0/parallel-path-processing-life-of-a-packet/86811/packet-flow-ingress-and-egress-fortigates-without-network-processor-offloading | |
| #===================================================================== | |
| CLI | |
| the control key sequences shown in the following table: |
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
| ------------------------------------------------------------------------------------------------------------------------------ | |
| >display snmp-agent ? | |
| community Display the SNMPv1 or SNMPv2c community name | |
| extend SNMP extend configuration | |
| group Display the information of groups based on USM | |
| heartbeat Heartbeat | |
| inform Display config parameters of the inform alarm | |
| local-engineid Display the engine ID of local SNMP entity | |
| mib-view Display the SNMP MIB view | |
| notification-log Notification log |
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
| ============================================================================ | |
| >where python (cmd) | |
| ============================================================================ | |
| #add interpreter | |
| File-Settings-Project:PycharmProjects-Python Interpreter | |
| ============================================================================ | |
| py --help | |
| modules | |
| python -help |
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
| ========================================================================================================== | |
| # powershell (black) | |
| #Install chocolatey windows 11 | |
| Set-ExecutionPolicy Bypass -Scope Process -Force | |
| [System.Net.ServicePointManager]::SecurityProtocol = ` | |
| [System.Net.ServicePointManager]::SecurityProtocol -bor 3072 | |