Skip to content

aydinnyunus/gateCracker-REST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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! 🌐

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages