Skip to content

Commit

Permalink
fix: function names
Browse files Browse the repository at this point in the history
  • Loading branch information
love98ooo committed Apr 7, 2024
1 parent 37d022d commit 9052556
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions resolve.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,17 @@ import (
)

// Resolve function to bypass ouo.io and ouo.press links
func resolve(ouoURL string) (string, error) {
bypassed, err := ouoBypass(ouoURL)
func Resolve(ouoURL string) (string, error) {
bypassed, err := OuoBypass(ouoURL)
if err != nil {
fmt.Printf("Error: %v\n", err)
return "", err
}
return bypassed, nil
}

func ouoBypass(ouoURL string) (string, error) {
// OuoBypass function to bypass ouo.io and ouo.press links
func OuoBypass(ouoURL string) (string, error) {
tempURL := strings.Replace(ouoURL, "ouo.press", "ouo.io", 1)
var location string
u, err := url.Parse(tempURL)
Expand Down Expand Up @@ -91,6 +92,7 @@ func ouoBypass(ouoURL string) (string, error) {
return location, nil
}

// RecaptchaV3 function to bypass reCAPTCHA v3
func RecaptchaV3() (string, error) {
AnchorUrl := "https://www.google.com/recaptcha/api2/anchor?ar=1&k=6Lcr1ncUAAAAAH3cghg6cOTPGARa8adOf-y9zv2x&co=aHR0cHM6Ly9vdW8ucHJlc3M6NDQz&hl=en&v=pCoGBhjs9s8EhFOHJFe8cqis&size=invisible&cb=ahgyd1gkfkhe"
urlBase := "https://www.google.com/recaptcha/"
Expand Down

0 comments on commit 9052556

Please sign in to comment.