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

sflib: Remove myPath() and move wordlist functions to SpiderFootHelpers #1687

Merged
merged 1 commit into from
May 29, 2022

Conversation

bcoles
Copy link
Contributor

@bcoles bcoles commented May 28, 2022

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented May 28, 2022

Codecov Report

Merging #1687 (4201d02) into master (d4dc4de) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1687      +/-   ##
==========================================
+ Coverage   46.29%   46.31%   +0.02%     
==========================================
  Files         707      707              
  Lines       46430    46467      +37     
==========================================
+ Hits        21493    21522      +29     
- Misses      24937    24945       +8     
Impacted Files Coverage Δ
sflib.py 63.59% <ø> (-0.42%) ⬇️
test/conftest.py 100.00% <ø> (ø)
test/unit/test_spiderfoot.py 96.80% <ø> (-0.08%) ⬇️
modules/sfp_accounts.py 21.17% <100.00%> (ø)
modules/sfp_binstring.py 30.13% <100.00%> (ø)
modules/sfp_names.py 45.12% <100.00%> (ø)
sf.py 50.00% <100.00%> (ø)
spiderfoot/helpers.py 80.79% <100.00%> (+1.56%) ⬆️
test/integration/test_sfwebui.py 96.44% <100.00%> (-0.03%) ⬇️
test/unit/spiderfoot/test_spiderfoothelpers.py 100.00% <100.00%> (ø)
... and 4 more

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@@ -61,7 +61,7 @@ def main() -> None:
'_fetchtimeout': 5, # number of seconds before giving up on a fetch
'_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',
'_internettlds_cache': 72,
'_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",
'_genericusers': ",".join(SpiderFootHelpers.usernamesFromWordlists(['generic-usernames'])),
Copy link
Owner

Choose a reason for hiding this comment

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

Is the user overrides this in the UI, they will get lost the next time SpiderFoot is restarted, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This behaviour is identical to the existing behaviour.

Copy link
Owner

Choose a reason for hiding this comment

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

My mistake, thanks.

@smicallef smicallef merged commit 920651c into smicallef:master May 29, 2022
@bcoles bcoles deleted the sflib-wordlists branch May 29, 2022 18:15
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

3 participants