Lurker News

Comments (209) 36 threads

Earlier comments
sergioisidoro2 replies#
This sounds great, but the first thing I thought was how this would be a perfect tool to make automated mass phishing scams.

If the outcomes are realistic, take a massive list of sites, make a snapshot of each page, replace the POST login URLs with the phishers, deploy these individual HTML files, and spread the links through email.
I wonder how does this project handle forms.

flatroze#
Thank you for reminding me, I need to set action="" to be an absolute path when the page is saved.

upd: Done, now forms get their action="/submit" converted into action=" when the page is saved.

danfang#
I'd imagine you can already do that with some basic web scraping tools. This definitely makes it easier.
flatroze#
Thank you for the heads up, I'll test it and enhance to preserve styles better.
fouc1 reply#
Sweet idea! I would especially like to be able to capture videos and pictures too.

I suspect for saving videos, a good approach would be some sort of proxy + headless browser combination, where the proxy is responsible for saving a copy of all data the browser requests for.
Thoughts?

flatroze#
Thanks! Pictures should work, I'll check more tags first thing tomorrow when I start working on improving it.

I use youtube-dl for youtube and other popular web services myself. Embedding a video source as a data URL could in theory work, but it'd be quite a long base64 line. Also, editing .html files with tens or hundreds of megabytes of base64 in them would perhaps be less than convenient.

personjerry2 replies#
`cargo install` install 237 packages for this?! I don't think that's acceptable.
Deukhoofd1 reply#
Probably the reqwest crate. That thing alone uses like 30 crates, not including the dependencies of those crates.
flatroze#
The compile time is rather long as well, I'm looking into ways of reducing the amount of dependencies.
codegladiator#
Then don't accept it. What's with the number of packages or size ?

Load more comments