12 2020 档案
摘要:Windows Command Line - Turn off and on Firewall, Shutdown remote PC Netsh Advfirewall show allprofiles Netsh Advfirewall set allprofiles state off/on
阅读全文
摘要:Windows Command Line - Hiding a file or virus attrib Attribute h --> hidden r --> read only s --> system attribute +/- --> set/clear attrib +h Test.tx
阅读全文
摘要:Windows Command Line - Environment Variable Display All system Variable SET Display A particular Variable Echo %Variable_name% or set variable_name Se
阅读全文
摘要:Windows Command Line - Introduction to Files and Directory Rebooting the system using cmd and powershell cmd commands: shutdown -r Restart-Computer -d
阅读全文
摘要:Python for Data analytics Main Python Libraries for Data Science Advance Data Analysis Data Visualization Machine Learning NumPyScipypandas Matplotlib
阅读全文
摘要:Communication IMPPORTANCE OF COMMUNICATION Good communication is critical to the penetration test success Most penetration tests should be conducted o
阅读全文
摘要:Mitigation strategies RECOMMEND MITIGATION STRATEGIES Nearly every pen test will discover multiple vulnerabilities. A pen test report should contain r
阅读全文
摘要:Post-report Activities POST-REPORT DELIVERY ACTIVITIES Delivering the report isn't the end There is more work to do Delivering may include presenting
阅读全文
摘要:Writing Reports PEN TEST REPORT Communicate findings AND recommendations Primary recommendations Only change to make your points Digest of all activit
阅读全文
摘要:Scripting languages comparison Comparing Scripting Languages Bash PowerShell Ruby Python Comments # # or <# #> # or =begin =end # Variables - assign v
阅读全文
摘要:Python Scripts DEMO portscan.py import sys, socket target = sys.argv[1] minport = int(sys.argv[2]) maxport = int(sys.argv[3]) def porttry(cur_target,
阅读全文
摘要:Ruby Script Demo Portscan.rb #!/usr/bin/ruby require 'socket' TARGET = ARGV[0] || '192.168.2.22' MINPORT = ARGV[1] || 22 MAXPORT = ARGV[2] || 80 $i =
阅读全文
摘要:PowerShell scripts Run PowerShell on Windows as a administrator. And set the execution policy. Set-ExecutionPolicy Unrestricted Following is a simple
阅读全文
摘要:Bash scripting techniques BASH SCRIPTING I/O I/O - File vs. terminal vs. network Input from a terminal read -p "Enter your name:" name; echo "Hi," $na
阅读全文
摘要:Bash Scripting Basics COMMENTS Help you remember what you were thinking All comments start with the '#' character Anything after '#' is ignored by the
阅读全文
摘要:Using scripting in pen testing SCRIPTING FOR PENETRATION TESTING Why bother with scripts? Automate mundane/repetitive tasks Faster Less error prone Re
阅读全文