Skip to content

Conversation

@hsbt
Copy link
Collaborator

@hsbt hsbt commented Feb 19, 2019

I added the feature of cleanup files without Ruby code. I removed the following files.

  • The vulnerable files detected by F-Secure Anti-Virus.
  • The files what used extension name without .rb, .rake and the majority of Ruby code.
  • The files that ruby -c raised error status.

I know this feature is slow down of rake unpack task.

@akr @mame How about this?

}

File.open("payload.txt") do |f|
f.each_line do |i|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe i.chomp! or something is needed.

@akr
Copy link
Owner

akr commented Feb 19, 2019

Is it remove C files?

@hsbt
Copy link
Collaborator Author

hsbt commented Feb 19, 2019

Is it remove C files?

Maybe, Yes. But I know we hope to search for C function usage like rb_*. Should we store files that are .c, .h, .cpp and .hpp ?

@hsbt
Copy link
Collaborator Author

hsbt commented Feb 25, 2019

@akr I also ignored C/C++ source files. Can I merge this?

@akr akr mentioned this pull request Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants