This file is indexed.

/usr/share/doc/knockpy/README.rst is in knockpy 3.0.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
==========================
Knock Subdomain Scan v.3.0
==========================

Knockpy is a python tool designed to enumerate subdomains on a target domain through a wordlist.

.. figure:: https://cloud.githubusercontent.com/assets/41558/6314173/d22644d6-b9d3-11e4-9e95-e3a72a946bcb.jpg
   :align: center
   :width: 90%
   :figwidth: 85%

Usage
-----

.. code-block:: bash

  knockpy [-h] [-v] [-w WORDLIST] [-r] [-z] domain

positional arguments:

.. code-block:: bash

  domain         specific target domain, like domain.com

optional arguments:

.. code-block:: bash

  -h, --help     show this help message and exit
  -v, --version  show program's version number and exit
  -w WORDLIST    specific path to wordlist file
  -r, --resolve  resolve ip or domain name
  -z, --zone     check for zone transfer

note: the ALIAS name is marked in yellow.

Example
-------

subdomain scan with internal wordlist

.. code-block:: bash

  knockpy domain.com

subdomain scan with external wordlist

.. code-block:: bash

  knockpy domain.com -w wordlist.txt

resolve domain name and get response headers

.. code-block:: bash

  knockpy -r domain.com

check zone transfer for domain name

.. code-block:: bash

  knockpy -z domain.com

=======
Install
=======

from pypi (as root)

.. code-block:: bash

  pip install https://github.com/guelfoweb/knock/archive/knock3.zip

or manually, `download zip <https://github.com/guelfoweb/knock/archive/knock3.zip>`_ and extract folder

.. code-block:: bash

  cd knock-knock3/

(as root)

.. code-block:: bash

  python setup.py install

note: tested with python 2.7.6 | is recommended to use `google dns <https://developers.google.com/speed/public-dns/docs/using>`_ (8.8.8.8 | 8.8.4.4)

==========
Talk about
==========

`Ethical Hacking and Penetration Testing Guide <http://www.amazon.com/Ethical-Hacking-Penetration-Testing-Guide/dp/1482231611>`_ Book by Rafay Baloch

=====
Other
=====

This tool is currently maintained by Gianni 'guelfoweb' Amato, who can be contacted at guelfoweb@gmail.com or twitter `@guelfoweb <http://twitter.com/guelfoweb>`_. Suggestions and criticism are welcome.

Sponsored by `Security Side <http://www.securityside.it/>`_