官术网_书友最值得收藏!

Tools

We'll be using a variety of tools this chapter, some of which we'll be coming back to throughout the book:

  • wfuzz
  • scrapy
  • striker
  • Burp Suite
  • Homebrew (package manager)
  • SecLists
  • virtualenv
  • jenv(Java version manager)
  • Java Development Kit (JDK)
  • Java Runtime Environment (JRE) 1.6 or greater

wfuzz is a fuzzer and discovery tool built by pentesters for pentesters. To install it, simply use pip: pip install wfuzz.

Homebrew is an excellent package manager for macOS that allows you to install dependencies from the command line, much like you would with apt-get in Debian or yum in Redhat-flavored Linux distributions. Homebrew is easily installed via its website (https://brew.sh/), then packages can be installed simply via brew install <PACKAGE_NAME>.

Burp Suite requires a JRE (version 1.6 or greater), but we'll also need the JDK to use the java command line tool to bootstrap Burp Suite from the command line. Running Burp from the command line lets us pass in settings via arguments that give us more control over the execution environment.


Please install Burp Suite by following the directions on Portswigger's website: https://portswigger.net/burp/help/suite_gettingstarted.

To use Burp Suite, you need to run a legacy version of Java. If you try to start Burp from its CLI with Java 10.0.0 or later, you'll receive a message to the effect that Burp has not been tested on this version and is susceptible to errors.

If you just need Java for Burp, you can install an older version—we'll be using Java 1.8.0 (Java 8)—and use that system-wide. But if you need a more up-to-date Java installation for other programs, you can still run legacy Java by using the jenv command-line utility that allows you to switch between versions. jenv is similar to the Ruby version manager rvm or the Node version manager nvm, they all allow you add, list, and switch between versions of the language with just a few commands.

Please install jenv from its website: http://www.jenv.be/.

After you've installed jenv, you can add a new Java version to it simply by using the path to its /Home directory. Then we'll set our system to use it:

jenv add /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home
jenv global 1.8

You might have to restart your Terminal. But you should have Java 8 installed! Check it's Java 8 with java -version. You should see this output:

java version "1.8.0_172"
Java(TM) SE Runtime Environment (build 1.8.0_172-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.172-b11, mixed mode)

主站蜘蛛池模板: 措勤县| 鹤峰县| 张家川| 黄梅县| 洞口县| 印江| 类乌齐县| 新巴尔虎左旗| 红桥区| 泾川县| 博罗县| 洛扎县| 红河县| 县级市| 呼图壁县| 印江| 井冈山市| 报价| 湘潭市| 怀仁县| 达州市| 南宫市| 曲松县| 于都县| 那坡县| 铜川市| 桦南县| 寿阳县| 三亚市| 松桃| 沁水县| 犍为县| 周口市| 台南县| 阿克| 三都| 山阳县| 荥阳市| 临漳县| 高邮市| 武夷山市|