Skip to content

Commit

Permalink
remove default shells on gitlens module
Browse files Browse the repository at this point in the history
  • Loading branch information
h00die committed Apr 18, 2024
1 parent bae1a2e commit a551ef1
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions modules/exploits/multi/fileformat/gitlens_local_config_exec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,20 @@ def initialize(info = {})
'FILENAME' => 'repo.zip',
'WfsDelay' => 3_600 # 1hr
},
'Arch' => ARCH_CMD,
'Targets' => [
[
'Linux/Unix (In-Memory)',
{
'Platform' => [ 'unix', 'linux' ],
'Arch' => ARCH_CMD,
'Type' => :unix_cmd,
'DefaultOptions' => {
'PAYLOAD' => 'cmd/unix/reverse_bash'
}
'Type' => :unix_cmd
},
],
# There may be a size limit, but using fetch payloads works great
[
'PowerShell (In-Memory)',
{
'Platform' => 'win',
'Arch' => [ARCH_CMD],
'DefaultOptions' => {
'PAYLOAD' => 'cmd/windows/http/x64/shell/reverse_tcp'
},
'Payload' => {
'BadChars' => '"&'
}
Expand Down

0 comments on commit a551ef1

Please sign in to comment.