Skip to content

Commit b98e0b8

Browse files
STORE_LOOT is OptBool, so will be either true or false, we can remove equality check here.
Co-authored-by: jheysel-r7 <[email protected]>
1 parent 7e37ca5 commit b98e0b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/gather/solarwinds_servu_fileread_cve_2024_28995.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def run
139139

140140
fail_with(Failure::UnexpectedReply, "Unexpected response from server. HTTP code #{res.code}.") unless res.code == 200
141141

142-
if datastore['STORE_LOOT'] == true
142+
if datastore['STORE_LOOT']
143143
print_status('Storing the file data to loot...')
144144

145145
store_loot(

0 commit comments

Comments
 (0)