Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add pocsuite console feature #73

Closed
nixawk opened this issue May 14, 2016 · 2 comments
Closed

add pocsuite console feature #73

nixawk opened this issue May 14, 2016 · 2 comments

Comments

@nixawk
Copy link
Contributor

nixawk commented May 14, 2016

Try to add a powerful and interactive console,

$ ./pcs-console.py ./modules

                              ,--. ,--.
 ,---. ,---. ,---.,---.,--.,--`--,-'  '-.,---.  {2.0.4.1-782b2aa}
| .-. | .-. | .--(  .-'|  ||  ,--'-.  .-| .-. :
| '-' ' '-' \ `--.-'  `'  ''  |  | |  | \   --.
|  |-' `---' `---`----' `----'`--' `--'  `----'
`--'                                            http://pocsuite.org

Pocsuite> help

Core Commands Menu (help <command> for details)
===============================================
attack          conduncting attack
back            Move back from the current context
banner          Display an awesome framework banner
help            Show help menu
load            load specific poc file(s).
set             Set key equal to value
show            Show available options / modules
verify          conducting verification

Pocsuite> show pocs
{1: './modules/apache_struts_s2_033.py',
 2: './modules/dlink_command_php_exec_noauth.py'}
Pocsuite> load 2
[*] load poc file(s) success!
Pocsuite> set url http://www.baidu.com/
Pocsuite> attack
[07:18:53] [*] setting the HTTP timeout
[07:18:53] [*] checking dlink_command_php_exec_noauth
[07:18:53] [!] missing ['appPowerLink'] in dlink_command_php_exec_noauth
[07:18:53] [*] poc:'dlink_command_php_exec_noauth' target:'http://www.baidu.com/'
[07:18:54] [-] poc-78176 'Multiple Vulnerabilities in D-Link DIR-600 and DIR-300' failed.
+-----------------------+-------------------------------+--------+-----------+------------------+----------+
|       target-url      |            poc-name           | poc-id | component |     version      |  status  |
+-----------------------+-------------------------------+--------+-----------+------------------+----------+
| http://www.baidu.com/ | dlink_command_php_exec_noauth | 78176  |   D-Link  | DIR-300, DIR-600 | Error: n |
+-----------------------+-------------------------------+--------+-----------+------------------+----------+
success : 0 / 1
@ziflar
Copy link

ziflar commented Aug 8, 2016

hello ;how to add poc modules

@nixawk
Copy link
Contributor Author

nixawk commented Aug 8, 2016

@ziflar pocadd is a choice. When you need help, please enter help pocadd in the console.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants