Comments (4)
Solution would be to add url matching regex such as this to codebase with a urls only flag added to options
(([a-zA-Z][a-zA-Z0-9+-.]*\:\/\/)|mailto|data\:)([a-zA-Z0-9\.\&\/\?\:@\+-\_=#%;,])*
Temporary easy solution until then
You can easily pipe the commands stdout to a grep with a regex to match just urls
gospider -s https://jaeles-project.github.io/ -t 10 -d 1 -c 10 | grep -o -E "(([a-zA-Z][a-zA-Z0-9+-.]*\:\/\/)|mailto|data\:)([a-zA-Z0-9\.\&\/\?\:@\+-\_=#%;,])*" | sort -u | tee justurls.txt
You alternatively can save the output with -o flag then grep the contents of output directories file (or files if multiple input sites such as live site subdomains in this example)
gospider -S <(assetfinder -subs-only hackerone.com | sort -u | httprobe -prefer-https) -t 10 -d 1 -c 10 -o outdir && grep -r -o -E "(([a-zA-Z][a-zA-Z0-9+-.]*\:\/\/)|mailto|data\:)([a-zA-Z0-9\.\&\/\?\:@\+-\_=#%;,])*" outdir | sort -u | tee rawstdout.txt
Feel free to replace
-S <(assetfinder -subs-only hackerone.com | sort -u | httprobe -prefer-https)
with
-S alivedomains.txt
If already have list of domains in the file alivedomains.txt or whichever
from gospider.
I feel "-q, --quiet Suppress all the output and only show URL" flag was meant for only showing the URL but its not working in the latest version v1.1.2.
from gospider.
I feel "-q, --quiet Suppress all the output and only show URL" flag was meant for only showing the URL but its not working in the latest version v1.1.2.
Same here. -q gives no effect.
from gospider.
The -q option is not yet fully effective and continues to print unnecessary information to the screen.
from gospider.
Related Issues (20)
- Linkfinder
- Several bugs and enhancements HOT 1
- help HOT 1
- Where do I add the Virus Total API key? HOT 1
- WARN You are not set VirusTotal API Key yet
- Can't crawl localhost HOT 4
- Scan with just urls and without duplicates
- can't install HOT 2
- Self-defined User-Agent is case-insensitive
- Relathive path in js files makes invalid urls in linkfinder module
- issue with URLs containing dashes
- Linkfinder issue
- RAM usage HOT 1
- Output only URLs HOT 4
- Proxy settings not fully honored
- gospider offen Sleep
- Crawl website video
- robots.txt dir not found
- can't support HTTP/2
- Error during gospider execution HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gospider.