forked from nil0x42/phpsploit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CONTRIBUTE
56 lines (41 loc) · 2.29 KB
/
CONTRIBUTE
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
Reporting a new bug:
====================
If you discover any bug on the PhpSploit framework, you are invited to submit
it in the project's bugtracker, at:
- https://github.com/nil0x42/phpsploit/issues
Please ensure previously that the bug has not already been reported in the
issues list. In case you are using an older version of the software, consider
cloning the latest version from Git, if the bug has been noticed in the past,
it can solve your ploblem.
Contributing to the core:
=========================
If you plan to share your amendements to the framework's core, the first
requirement is to take care of the PhpSploit coding style. Even if some old
libraries stand ugly and poorly commented, the new or reviewed ones obey to
the following syntax:
- Any class/function has a docstring that summarizes their use.
- Esoteric portions of code are provided with explicit comments.
- The maximum line length is limited to 80 characters.
- PHP code portions MUST be compatible with at least php 4.3.0.
Finally, your contribution must be submited by a pull request on github.
Writing PhpSploit plugins:
==========================
To get your plugin(s) included to the next PhpSploit release, in addition to
the coding style conditions listed in the previous section, you must take care
to write a clear and detailed help for it.
The help must be provided as a python docString in the main file (plugin.py),
and comply with the syntax of the built-in plugins. Help lines must not exceed
64 characters, to maintain good readability.
To submit your plugin, a compressed archive can be sent to the main developper
by E-Mail, or by a pull-request on github
Enhancing documentation:
========================
If you found an error, or have an enhancement idea on any command/plugin help
string, please consider creating an "enhancement" issue:
- https://github.com/nil0x42/phpsploit/issues
If you are masochist and want to write, complement or review the (poor?)
PhpSploit documentation, you are very welcome and invited to share your
contribution by E-Mail or pull request.
#NOTE: If you want to bring manpage contribution, consider editing it's source
file at "man/manual-page.txt2tags", which uses txt2tags syntax and must be used
instead of "man/manual-page.1" to generate the manpage (see man/README).