Skip to content

Cleanup feature without Ruby code #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

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?

@@ -94,6 +94,12 @@ task :unpack do
}
}

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.

3 participants