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

new: added basic json filter #9

Merged
merged 5 commits into from
Jan 29, 2024
Merged

new: added basic json filter #9

merged 5 commits into from
Jan 29, 2024

Conversation

evilsocket
Copy link
Collaborator

Example:


PORTS => <file: filename="/Users/evilsocket/lab/legba/data/drip/ports.jsonl", toend="false">;

SCAN_PORTS_ON_NEW_SUBDOMAIN => @SUBDOMAINS | 
    json(selector="target") | 
    system(cmd="/Users/evilsocket/lab/legba/target/debug/legba tcp.ports --tcp-ports 80-10000 -T {{ .main }} --output /Users/evilsocket/lab/legba/data/drip/ports.jsonl --output-format jsonl");

Copy link

codecov bot commented Dec 22, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (2fdb379) 50.90% compared to head (3e5cbfb) 51.75%.

Files Patch % Lines
filters/json.go 97.67% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
+ Coverage   50.90%   51.75%   +0.85%     
==========================================
  Files          41       42       +1     
  Lines        2322     2365      +43     
==========================================
+ Hits         1182     1224      +42     
- Misses       1040     1041       +1     
  Partials      100      100              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Matrix86 Matrix86 merged commit 500b327 into master Jan 29, 2024
4 checks passed
Matrix86 added a commit that referenced this pull request Jan 29, 2024
@Matrix86 Matrix86 deleted the json_filter branch February 17, 2024 15:43
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