Giter Site home page Giter Site logo

scripts's Introduction

This Repository contains three utility:

  • ToolsManager - Using this a user can install/update/uninstall tools which are not present in PentestBox by default.
  • Update - This is a new version of update utility. Basically can update all tools category wise or all at one time. Also this is responsible for updating config files.
  • list - This list out alias of tools installed in PentestBox.

Modules folder contains modules through which tools can be installed which are not present in PentestBox by default.

Every module need to have five inputs

  • DESCRIPTION
  • INSTALLATION_CATEGORY
  • COMMANDS
  • PATH_FOR_ALIAS
  • TERMINAL_ALIAS

Order is not necessary. Value to these parameters should be on different lines.

  • DESCRIPTION should contain description of the tool. You can also include website link in the value.
  • INSTALLATION_DIRECTORY should contain category name. In case for webApplications it should be /webApplications.
  • COMMANDS should contain all the commands which should be passed to the terminal to install that tool.
    • If any tool require python module, it can installed through pip. In that case add python -m pip install module_name to the COMMANDS.
    • If any tool require ruby gem, it can be installed. In that case add gem install gem_name to the COMMANDS.
  • PATH_FOR_ALIAS should contain path as well it's requirement.
  • TERMINAL_ALIAS should contain alias for calling that tool.

####Example of a Module

Let us consider an example of /modules/passwordAttacks/oclHashcat-amd-2.01

DESCRIPTION="Worlds fastest password cracker and only GPGPU based rule engine. FOR AMD"

INSTALLATION_CATEGORY="/passwordAttacks"

COMMANDS="wget --no-check-certificate https://hashcat.net/files/oclHashcat-2.01.7z,7za x oclHashcat-2.01.7z,rm oclHashcat-2.01.7z"

PATH_FOR_ALIAS="%pentestbox_ROOT%/bin/tools/oclHashcat-2.01/oclHashcat64.exe" $*

TERMINAL_ALIAS=oclhashcat64

COMMANDS should all commands needs to be passed to terminal. PATH_FOR_ALIAS should contain path to the file for which alias need to be created. TERMINAL_ALIAS should contain actual alias need to be set.

You can create a pull request with your module after testing that on PentestBox.

Module Structure inspired from ptf.

scripts's People

Contributors

exploitprotocol avatar

Stargazers

 avatar  avatar  avatar  avatar Zybnev Sergey avatar  avatar  avatar Harry Tate avatar  avatar Saad avatar  avatar  avatar  avatar freemoon avatar 三里十步 avatar  avatar Quinn Yan avatar warwolf767 avatar  avatar O.T Osman avatar  avatar yourfriendcaspian avatar X7 avatar z avatar Chandrapal Badshah avatar Minh-Triet Pham Tran avatar Lee Sander avatar Sanmi avatar Jing Ling avatar  avatar Brock avatar wwc avatar septs avatar

Watchers

Minh-Triet Pham Tran avatar James Cloos avatar  avatar Saad avatar  avatar  avatar

scripts's Issues

ImportError: No module named colors

While trying to run the command update all it returns the following error:

Traceback (most recent call last):
  File "C:\PentestBox\bin\scripts\update.py", line 4, in <module>
    from colors import *
ImportError: No module named colors

print green("Updating Required Files") ERROR

when i type sqlmap it told me i should update the new sqlmap. so i update the tools.but i got this py error.PLS hellp:)

update
File "D:\HackProgram\PentestBox\bin\scripts\update.py", line 14
print green("Updating Required Files")
^
SyntaxError: invalid syntax

PentestBox (including metasploit version)can't run metasploit

msfconsole

Bundler could not find compatible versions for gem "activesupport":
In snapshot (Gemfile.lock):
activesupport (= 4.2.11.1)

In Gemfile:
metasploit-framework x86-mingw32 was resolved to 5.0.20, which depends on
activerecord (~> 4.2.6) x86-mingw32 was resolved to 4.2.10, which depends on
activesupport (= 4.2.10) x86-mingw32

rspec-rails x86-mingw32 was resolved to 3.8.2, which depends on
  railties (>= 3.0) was resolved to 4.2.11.1, which depends on
    activesupport (= 4.2.11.1) x86-mingw32

Running bundle update will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

#I try to “gem install activesupport” but nothing

Successfully installed activesupport-5.2.3
Parsing documentation for activesupport-5.2.3
Done installing documentation for activesupport after 5 seconds
1 gem installed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.