Skip to content

Commit 57aa1ee

Browse files
committed
Kick rkelly out to a gem, add rkelly-remixed.
rkelly-remixed is a faster fork of rkelly that is more frequently updated nowadays. With the new gem, jsobfu obfuscates os.js about twice as fast on my dev environment.
1 parent c72c96f commit 57aa1ee

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+5
-17668
lines changed

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ gem 'json'
1010
gem 'msgpack'
1111
# Needed by anemone crawler
1212
gem 'nokogiri'
13+
# Needed for javascript obfuscation
14+
gem 'rkelly-remix', '0.0.6'
1315
# Needed by anemone crawler
1416
gem 'robots'
1517
# Needed by db.rb and Msf::Exploit::Capture

Gemfile.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ GEM
3737
pg (0.16.0)
3838
rake (10.1.0)
3939
redcarpet (3.0.0)
40+
rkelly-remix (0.0.6)
4041
robots (0.10.1)
4142
rspec (2.14.1)
4243
rspec-core (~> 2.14.0)
@@ -76,6 +77,7 @@ DEPENDENCIES
7677
pg (>= 0.11)
7778
rake (>= 10.0.0)
7879
redcarpet
80+
rkelly-remix (= 0.0.6)
7981
robots
8082
rspec (>= 2.12)
8183
shoulda-matchers

lib/rex/exploitation/jsobfu.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def obfuscate_r(ast)
176176
end
177177
}
178178
n << '"'
179-
node.name = n
179+
node.instance_variable_set(:@name, n)
180180
end
181181

182182
# Variables

lib/rkelly.rb

Lines changed: 0 additions & 14 deletions
This file was deleted.

lib/rkelly/constants.rb

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)