-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Verify first that your issue/request has not been posted previously:
- https://github.com/beefproject/beef/issues
- https://github.com/beefproject/beef/wiki/FAQ
Ensure you're using the latest version of BeEF.
Environment
What version/revision of BeEF are you using?
BeEF 0.5.0.0-alpha-pre
On what version of Ruby?
ruby 2.5.7
On what browser?
Firefox
On what operating system?
Manjaro
Configuration
Are you using a non-default configuration?
nope
Have you enabled or disabled any BeEF extensions?
nope
Summary
Please provide a summary of the issue.
After injecting hook.js, you will find that every Object Array have an extra object.
Why there is a key whose name is "unique".
let a = [{}, {}, {}];
for(i in a){
console.log(i);
}
0
1
2
unique
Expected Behaviour
What was the expected result?
let a = [{}, {}, {}];
for(i in a){
console.log(i);
}
0
1
2
Actual Behaviour
What was the actual result?
0
1
2
unique
Steps to Reproduce
Please provide steps to reproduce this issue.
Additional Information
Please provide any additional information which may be useful in resolving this issue, such as debugging output and relevant screen shots. Debug output can be enabled by specifying debug: true in the config.yaml configuration file.