@@ -111,17 +111,20 @@ def initialize(info={})
111
111
[
112
112
OptPort . new ( 'RPORT' ,
113
113
[ true , 'The target port' , 8020 ] ) ,
114
- OptBool . new ( 'SSL' ,
115
- [ true , 'Use SSL' , false ] ) ,
114
+ OptString . new ( 'WEB_ROOT' ,
115
+ [ false , 'Slash terminated web server root filepath (escape Windows paths with 4 slashes \\\\\\\\)' ] )
116
+ ] , self . class )
117
+
118
+ register_advanced_options (
119
+ [
116
120
OptInt . new ( 'CHUNK_SIZE' ,
117
- [ true , 'Number of characters to send per request (< 7800)' , 7500 ] ) ,
121
+ [ true , 'Number of characters to send per request (< 7800)' , 7500 ] ) ,
118
122
OptInt . new ( 'SLEEP' ,
119
- [ true , 'Seconds to sleep between injections (x1 for MySQL, x2.5 for PostgreSQL)' , 2 ] ) ,
123
+ [ true , 'Seconds to sleep between injections (x1 for MySQL, x2.5 for PostgreSQL)' , 2 ] ) ,
120
124
OptBool . new ( 'EXE_SMALL' ,
121
- [ true , 'Use exe-small encoding for better reliability' , true ] ) ,
122
- OptString . new ( 'WEB_ROOT' ,
123
- [ false , 'Slash terminated web server root filepath (escape Windows paths with 4 slashes \\\\\\\\)' ] )
125
+ [ true , 'Use exe-small encoding for better reliability' , true ] ) ,
124
126
] , self . class )
127
+
125
128
end
126
129
127
130
0 commit comments