Skip to content

Latest commit

Β 

History

History
63 lines (40 loc) Β· 2.31 KB

File metadata and controls

63 lines (40 loc) Β· 2.31 KB

GateCracker REST API

A RESTful API for gateCracker tool that provides default password information for Smart Locks in Turkey.

This API is required to run the gateCracker tool. The gateCracker application connects to this REST API running on localhost:8080 to retrieve lock model information and default passwords.

Blog Post: https://aydinnyunus.github.io/2022/01/07/bypassing-door-passwords/

Installation & Run

# Clone the repository
git clone https://github.com/aydinnyunus/gateCracker-REST.git

# Navigate to the directory
cd gateCracker-REST

# Install dependencies
go mod tidy

# Run the API server
go run main.go

The API will be available at http://localhost:8080

Structure

β”œβ”€β”€ go.mod
β”œβ”€β”€ go.sum  
β”œβ”€β”€ simple.go
└── main.go

API Endpoints

GET /smartLocks

Get all smart locks

GET /smartLocks/:id

Get a specific smart lock by ID

Example: GET http://localhost:8080/smartLocks/1

Usage with gateCracker

  1. Start this REST API server: go run main.go
  2. Make sure the API is running on http://localhost:8080
  3. Run the gateCracker tool which will connect to this API

Blog Post

Bug / Feature Request πŸ‘¨β€πŸ’»

If you find a bug or would like to request a new feature, please open an issue here.

Connect with me! 🌐