-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This marks a huge step in pwncat. We're finally merging the platforms branch. The API has completely changed at this point. I've bumped the version number in setup.py and tagged the old version appropriately. The readthedocs stable page will still point to the old API while latest should provide documentation on the updated API.
- Loading branch information
Showing
249 changed files
with
16,920 additions
and
11,368 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[flake8] | ||
ignore=E501,E123,E121,E126,E133,W505,W503,W504 | ||
exclude=.git,__pycache__,pwncat.egg-info,env,dist,build,data,docs,tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,5 @@ data/pwncat.sqlite-journal | |
pwncat.sqlite-journal | ||
linpeas.txt | ||
NOTES.md | ||
|
||
db/pwncat* | ||
windows/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{%- if show_headings %} | ||
{{- [basename, "module"] | join(' ') | e | heading }} | ||
|
||
{% endif -%} | ||
.. automodule:: {{ qualname }} | ||
{%- for option in automodule_options %} | ||
:{{ option }}: | ||
{%- endfor %} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{%- macro automodule(modname, options) -%} | ||
.. automodule:: {{ modname }} | ||
{%- for option in options %} | ||
:{{ option }}: | ||
{%- endfor %} | ||
{%- endmacro %} | ||
|
||
{%- macro toctree(docnames) -%} | ||
.. toctree:: | ||
:maxdepth: {{ maxdepth }} | ||
{% for docname in docnames %} | ||
{{ docname }} | ||
{%- endfor %} | ||
{%- endmacro %} | ||
|
||
{%- if pkgname == "pwncat" %} | ||
{{- "API Documentation" | e | heading }} | ||
{% else %} | ||
{%- if is_namespace %} | ||
{{- [pkgname, "namespace"] | join(" ") | e | heading }} | ||
{% else %} | ||
{{- [pkgname, "package"] | join(" ") | e | heading }} | ||
{% endif %} | ||
{% endif %} | ||
|
||
{%- if modulefirst and not is_namespace %} | ||
{{ automodule(pkgname, automodule_options) }} | ||
{% endif %} | ||
|
||
{%- if (subpackages+submodules) %} | ||
Modules and Packages | ||
-------------------- | ||
{{ toctree(subpackages+submodules) }} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{%- macro automodule(modname, options) -%} | ||
.. automodule:: {{ modname }} | ||
{%- for option in options %} | ||
:{{ option }}: | ||
{%- endfor %} | ||
{%- endmacro %} | ||
|
||
{%- macro toctree(docnames) -%} | ||
.. toctree:: | ||
:maxdepth: {{ maxdepth }} | ||
{% for docname in docnames %} | ||
{{ docname }} | ||
{%- endfor %} | ||
{%- endmacro %} | ||
|
||
{%- if pkgname == "pwncat" %} | ||
{{- "API Documentation" | e | heading }} | ||
{% else %} | ||
{%- if is_namespace %} | ||
{{- [pkgname, "namespace"] | join(" ") | e | heading }} | ||
{% else %} | ||
{{- [pkgname, "package"] | join(" ") | e | heading }} | ||
{% endif %} | ||
{% endif %} | ||
|
||
{%- if modulefirst and not is_namespace %} | ||
{{ automodule(pkgname, automodule_options) }} | ||
{% endif %} | ||
|
||
{%- if subpackages %} | ||
Subpackages | ||
----------- | ||
|
||
{{ toctree(subpackages) }} | ||
{% endif %} | ||
|
||
{%- if submodules %} | ||
Submodules | ||
---------- | ||
{% if separatemodules %} | ||
{{ toctree(submodules) }} | ||
{% else %} | ||
{%- for submodule in submodules %} | ||
{% if show_headings %} | ||
{{- [submodule, "module"] | join(" ") | e | heading(2) }} | ||
{% endif %} | ||
{{ automodule(submodule, automodule_options) }} | ||
{% endfor %} | ||
{%- endif %} | ||
{%- endif %} | ||
|
||
{%- if not modulefirst and not is_namespace %} | ||
Module contents | ||
--------------- | ||
|
||
{{ automodule(pkgname, automodule_options) }} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{{ header | heading }} | ||
|
||
.. toctree:: | ||
:maxdepth: {{ maxdepth }} | ||
:hidden: | ||
{% for docname in docnames %} | ||
{{ docname }} | ||
{%- endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
|
||
rm -rf source/api/* | ||
|
||
sphinx-apidoc -M -T -e -t ./apidoc -d -1 -f -o ./source/api ../pwncat ../pwncat/commands/[!_]* ../pwncat/channel/[!_]* ../pwncat/modules/*[!.][!p][!y] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,13 @@ | ||
git+https://github.com/JohnHammond/base64io-python | ||
bcrypt==3.1.7 | ||
certifi==2020.6.20 | ||
cffi==1.14.0 | ||
chardet==3.0.4 | ||
colorama==0.4.3 | ||
commentjson==0.8.3 | ||
commonmark==0.9.1 | ||
cryptography==2.9.2 | ||
DataProperty==0.49.1 | ||
idna==2.10 | ||
lark-parser==0.7.8 | ||
mbstrdecoder==1.0.0 | ||
msgfy==0.1.0 | ||
netifaces==0.10.9 | ||
packaging==20.4 | ||
git+https://github.com/calebstewart/paramiko | ||
pathvalidate==2.3.0 | ||
pprintpp==0.4.0 | ||
prompt-toolkit==3.0.5 | ||
pycparser==2.20 | ||
pycryptodome==3.9.8 | ||
Pygments==2.6.1 | ||
PyNaCl==1.4.0 | ||
pytablewriter==0.54.0 | ||
python-dateutil==2.8.1 | ||
pytz==2020.1 | ||
requests==2.24.0 | ||
rich | ||
six==1.15.0 | ||
SQLAlchemy==1.3.18 | ||
tabledata==1.1.2 | ||
tcolorpy==0.0.5 | ||
typepy==1.1.1 | ||
typing-extensions==3.7.4.2 | ||
urllib3==1.25.9 | ||
wcwidth==0.1.9 | ||
rich==9.10.0 | ||
python-rapidjson==0.9.1 | ||
ZODB==5.6.0 | ||
zodburi==2.4.0 | ||
jinja2 | ||
paramiko==2.7.2 | ||
sphinx-toolbox==2.11.2 | ||
enum-tools==0.6.4 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.