Skip to content
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

fix for issue #1820 #1826

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

KDreynolds
Copy link

quick fix for Issue #1820

block of code reads the file specified by the -e argument into a string, which is then passed to the SpiderFootCli class as the stdin argument. However, the SpiderFootCli class expects an object with a readline method, not a string.

To fix this issue, I have modified the code to pass the file object itself, rather than a string containing the file's contents. Here's a rough idea of what the corrected code might look like:

@KDreynolds
Copy link
Author

Please let me know if I missed anything on this fix. Thanks!

@KDreynolds
Copy link
Author

I believe this is ready to go, let me know if I need to do anything else here.

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.

None yet

2 participants