Skip to content

Commit ac62c42

Browse files
committed
chore(wp_depicter): remove unused Actions block
1 parent c45481f commit ac62c42

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

modules/auxiliary/gather/wp_depicter_sqli_cve_2025_2011.rb

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ def initialize(info = {})
2121
in admin-ajax.php.
2222
},
2323
'Author' => [
24-
'Muhamad Visat', # Vulnerability Discovery
25-
'Valentin Lobstein' # Metasploit Module
24+
'Muhamad Visat', # Vulnerability discovery
25+
'Valentin Lobstein' # Metasploit module
2626
],
2727
'License' => MSF_LICENSE,
2828
'References' => [
@@ -31,10 +31,6 @@ def initialize(info = {})
3131
['URL', 'https://cloud.projectdiscovery.io/library/CVE-2025-2011'],
3232
['URL', 'https://plugins.trac.wordpress.org/browser/depicter/trunk/app/src/Controllers/Ajax/LeadsAjaxController.php?rev=3156664#L179']
3333
],
34-
'Actions' => [
35-
['SQLi', { 'Description' => 'Perform SQL Injection via admin-ajax.php?s=' }]
36-
],
37-
'DefaultAction' => 'SQLi',
3834
'DefaultOptions' => {
3935
'VERBOSE' => true,
4036
'COUNT' => 1
@@ -69,7 +65,7 @@ def get_sqli_object
6965
'perpage' => rand(10..50).to_s,
7066
'page' => rand(1..3).to_s,
7167
'orderBy' => 'source_id',
72-
'order' => ['ASC', 'DESC'].sample,
68+
'order' => %w[ASC DESC].sample,
7369
'dateStart' => '',
7470
'dateEnd' => '',
7571
'sources' => ''

0 commit comments

Comments
 (0)