Skip to content

Commit

Permalink
Setting up auto-release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
LuD1161 committed May 12, 2022
1 parent 501509a commit 8e22f3c
Show file tree
Hide file tree
Showing 5 changed files with 147 additions and 2 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: goreleaser

on:
push:
# run only against tags
branches:
- 'master'
tags:
- 'v*'

permissions:
contents: write

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
-
name: Fetch all tags
run: git fetch --force --tags
-
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
44 changes: 44 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# .goreleaser.yaml
archives:
-
files:
- data/*
- README.md

release:
# Repo in which the release will be created.
# Default is extracted from the origin remote URL or empty if its private hosted.
github:
owner: LuD1161
name: upi-recon-cli


# What to do with the release notes in case there the release already exists.
#
# Valid options are:
# - `keep-existing`: keep the existing notes
# - `append`: append the current release notes to the existing notes
# - `prepend`: prepend the current release notes to the existing notes
# - `replace`: replace existing notes
#
# Default is `keep-existing`.
mode: append

# Header template for the release body.
# Defaults to empty.
header: |
## {{ .Tag }} ({{ .Date }})
Welcome to this new release!
# Footer template for the release body.
# Defaults to empty.
footer: |
## Thanks!
Those were the changes on {{ .Tag }}!
# You can change the name of the release.
# Default is `{{.Tag}}` on OSS and `{{.PrefixedTag}}` on Pro.
name_template: "{{.ProjectName}}-v{{.Version}}"

63 changes: 61 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,62 @@
# UPI Recon Go CLI
# UPI Recon CLI
![](images/logo.png)

A command line tool for reconnaissance using virtual payment address (VPA).
This tool leverages the openness available with the UPI platform to find :
1. UPI ID and name associated with a mobile number
2. UPI ID and name associated with a gmail account
3. UPI ID and name associated with a vehicle registration number. Leveraging UPI id associated with a FASTag.


# Overview

```sh

_ _ _____ _____ _____ _____ _ _____
| | | | __ \_ _| | __ \ / ____| | |_ _|
| | | | |__) || | | |__) |___ ___ ___ _ __ | | | | | |
| | | | ___/ | | | _ // _ \/ __/ _ \| '_ \ | | | | | |
| |__| | | _| |_ | | \ \ __/ (_| (_) | | | | | |____| |____ _| |_
\____/|_| |_____| |_| \_\___|\___\___/|_| |_| \_____|______|_____|
# Author: Aseem Shrey (@aseemshrey)
# URL: https://github.com/LuD1161/upi-recon-cli
Check virtual payment address corresponding to a mobile number, email address and get user's name as well.

Usage:
upi-recon-cli PHONE_NUMBER [flags]
upi-recon-cli [command]

Available Commands:
checkFastag Check FASTag suffixes for vehicle registration number.
checkGpay Check gmail id corresponding to GPay suffixes.
help Help about any command

Flags:
-c, --config string config file (default "config.yaml")
-h, --help help for upi-recon-cli
-t, --threads int No of threads (default 100)
--timeout int Timeout for requests (default 15)

Use "upi-recon-cli [command] --help" for more information about a command.****
```

### Checking a mobile number for the Owner's name and UPI IDs
```sh
./upi-recon-cli <MOBILE_NUMBER_HERE>
```
![](images/usage-mobile-number.png)

## 🚀 About Me

This is Aseem. I'm a security engineer from India 🇮🇳.<br/>I love building and teaching security stuff. Ping me up for anything related to security 🙌


![Twitter Follow](https://img.shields.io/twitter/follow/AseemShrey?style=social) ![YouTube Channel Subscribers](https://img.shields.io/youtube/channel/subscribers/UCARsgS1stRbRgh99E63Q3ng?label=HackingSimplified&style=social)


## Acknowledgements

This project was inspired by [upi-recon](https://github.com/qurbat/upi-recon/) by [@squeal](https://twitter.com/squeal).

A command line tool for virtual payment address discovery.
Binary file added images/logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/usage-mobile-number.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8e22f3c

Please sign in to comment.