Skip to content

Instantly share code, notes, and snippets.

View xandersavvy's full-sized avatar
😁
in learing mode

Souvik Ghosh xandersavvy

😁
in learing mode
View GitHub Profile
@xandersavvy
xandersavvy / EmailVerifier.go
Created March 25, 2022 14:09
Go Lang MX record checker
package main
import (
"bufio"
"fmt"
"log"
"net"
"os"
"strings"
)
@xandersavvy
xandersavvy / MockInvokeRequest.ps1
Last active August 27, 2023 19:30
A simple automated api tester using native powershell. Read more about this on my blog: https://xandersavvy.hashnode.dev/making-a-automated-rest-api-tester-in-powershell-automating-the-api-testing
# create req.json file
# for automating make the multiple as response json array
# change the url at last / change the method at last
function Test-Api {
param(
[string]$Uri,
[string]$method,
[string]$body
)
777 Brockton Avenue, Abington MA 2351
30 Memorial Drive, Avon MA 2322
250 Hartford Avenue, Bellingham MA 2019
700 Oak Street, Brockton MA 2301
66-4 Parkhurst Rd, Chelmsford MA 1824
591 Memorial Dr, Chicopee MA 1020
55 Brooksby Village Way, Danvers MA 1923
137 Teaticket Hwy, East Falmouth MA 2536
42 Fairhaven Commons Way, Fairhaven MA 2719
374 William S Canning Blvd, Fall River MA 2721
@xandersavvy
xandersavvy / PortScanner.go
Created February 11, 2025 16:49
Scan ports of an IP using Golang
package main
import (
"fmt"
"net"
"sync"
"time"
)
func scanPort(host string, port int, wg *sync.WaitGroup) {