| 467 | |
| 468 | |
| 469 | def jboss(): |
| 470 | os.system('clear') |
| 471 | print ("This JBoss script deploys a JSP shell on the target JBoss AS server. Once") |
| 472 | print ("deployed, the script uses its upload and command execution capability to") |
| 473 | print ("provide an interactive session.") |
| 474 | print ("") |
| 475 | print ("usage : ./e.sh target_ip tcp_port ") |
| 476 | print("Continue: y/n") |
| 477 | choice9 = raw_input("yes / no :") |
| 478 | if choice9 in yes: |
| 479 | os.system( |
| 480 | "git clone https://github.com/SpiderLabs/jboss-autopwn.git"), sys.exit() |
| 481 | elif choice9 in no: |
| 482 | os.system('clear') |
| 483 | exp() |
| 484 | elif choice9 == "": |
| 485 | menu() |
| 486 | else: |
| 487 | menu() |
| 488 | |
| 489 | |
| 490 | def wppluginscan(): |