Skip to content

simple usage

alzzdev edited this page Jun 11, 2026 · 1 revision

Berikut halaman Wiki "Simple Usage" yang langsung ke inti, cocok untuk pengguna yang ingin segera menjalankan Atdork tanpa membaca dokumentasi panjang.


Simple Usage

This page covers the most common commands to get you started quickly.


1. Interactive Mode

If you prefer guided prompts, just run:

python main.py --interactive

Atdork will ask you for the dork, maximum results, and whether to save the output.


2. Quick Search

Perform a single search and display results in the terminal.

python main.py -q "site:gov filetype:pdf" -r 15
  • -q – your search query (dork)
  • -r – number of results (1‑100)

3. Save Results to a File

Add the -o flag to save the output. The format is guessed from the file extension, or you can specify --format.

Plain text:

python main.py -q "intitle:index.of mp3" -r 10 -o results.txt

JSON:

python main.py -q "admin login" -r 20 -o results.json

CSV:

python main.py -q "cyber attack" -r 30 --format csv -o data.csv

4. Combine Everything

A typical one‑liner for everyday use:

python main.py -q "confidential filetype:docx" -r 25 --backend google --safesearch off --format json -o output.json

That’s it! You can now run Atdork with just a few simple arguments. For more advanced features (proxy, batch, validation, multi‑threading), see the Usage Guide or Command Reference.

Clone this wiki locally