API Documentation

This Public / Open API allows users to submit WPA capture files (only) for processing and receive results via email. By using this API, you agree to the Terms & Conditions.

API Usage

To upload and process your file, use the following command:

curl -X POST -F "[email protected]" -F "file=@/path/to/your/file" https://api.onlinehashcrack.com

Note: Files should be in .cap, .pcap, or .pcapng format, max size 200 MB. The tool will automatically select the best PMKID or EAPOL.

Example Request

curl -X POST -F "[email protected]" -F "file=@/path/to/your/file" https://api.onlinehashcrack.com
																	
import requests
url = 'https://api.onlinehashcrack.com'
files = {'file': open('/path/to/your/file', 'rb')}
data = {'email': '[email protected]'}

response = requests.post(url, files=files, data=data)
print(response.text)
													

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://api.onlinehashcrack.com");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, [
'email' => '[email protected]',
'file' => new CURLFile('/path/to/your/file')
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;

													
require 'net/http'
require 'uri'

uri = URI('https://api.onlinehashcrack.com')
req = Net::HTTP::Post::Multipart.new(
uri.path,
	'email' => '[email protected]',
	'file' => UploadIO.new('/path/to/your/file', 'application/octet-stream')
)

response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
http.request(req)
end

puts response.body
													
package main
import (
	"bytes"
	"fmt"
	"mime/multipart"
	"net/http"
	"os"
)

func main() {
	url := "https://api.onlinehashcrack.com"

	file, err := os.Open("/path/to/your/file")
	if err != nil {
		fmt.Println(err)
		return
	}
	defer file.Close()

	body := &bytes.Buffer{}
	writer := multipart.NewWriter(body)
	writer.WriteField("email", "[email protected]")

	part, err := writer.CreateFormFile("file", "file")
	if err != nil {
		fmt.Println(err)
		return
	}
	_, err = part.Write([]byte(file))
	if err != nil {
		fmt.Println(err)
		return
	}

	writer.Close()

	req, err := http.NewRequest("POST", url, body)
	if err != nil {
		fmt.Println(err)
		return
	}
	req.Header.Set("Content-Type", writer.FormDataContentType())

	client := &http.Client{}
	resp, err := client.Do(req)
	if err != nil {
		fmt.Println(err)
		return
	}
	defer resp.Body.Close()

	fmt.Println(resp.Status)
}
													
const fs = require('fs');
const FormData = require('form-data');
const axios = require('axios');

const form = new FormData();
form.append('email', '[email protected]');
form.append('file', fs.createReadStream('/path/to/your/file'));

axios.post('https://api.onlinehashcrack.com', form, {
	headers: form.getHeaders()
})
.then(response => {
	console.log(response.data);
})
.catch(error => {
	console.error(error);
});

																		

Optional Tool

For bulk uploads, consider using wlancap2wpasec:

wlancap2wpasec -u https://api.onlinehashcrack.com -e [email protected] wifidump.cap

Find more details and download options on the GitHub page.

Additional Algorithms

If you require additional algorithms such as NTLM, MD5, and others, please access the Private API available here.

Terms of Service

Using this API implies acceptance of our Terms & Conditions. Non-compliance may result in service termination and legal action.