Skip to content

1.3.1 infonyx - #5

Open
banaxou wants to merge 1 commit into
mainfrom
infonyx-1.3.1
Open

1.3.1 infonyx#5
banaxou wants to merge 1 commit into
mainfrom
infonyx-1.3.1

Conversation

@banaxou

@banaxou banaxou commented Jul 22, 2025

Copy link
Copy Markdown
Owner
#code by ovax infonyx 1.3.1 new update
import requests
import json

# email 
def email():
    email = input("enter email : ")
    url = f"https://cavalier.hudsonrock.com/api/json/v2/osint-tools/search-by-email?email={email}"
    res = requests.get(url)  
    if res.status_code == 200:
        try:
            data = res.json()

            if 'message' in data and "not associated with a computer infected" in data['message']:
                print("data has not compromised")
            else:
                print("status code: ", res.status_code)
                print(json.dumps(data, indent=2))
        except ValueError :
            print("no response json")
    elif res.status_code != 200:
        print("Error request")


# ip 
def ip():
    ip = input('enter ip: ')
    url = f"https://cavalier.hudsonrock.com/api/json/v2/osint-tools/search-by-ip?ip={ip}"
    res = requests.get(url) 

    if res.status_code == 200:
        try:
            data = res.json()

            if 'stealers' in data and not data['stealers']:
                print("data has not compromised")
            else:
                print("status code:", res.status_code)
                print(json.dumps(data, indent=2))

        except ValueError:
            print("no response json")

    elif res.status_code != 200:
        print("Error request")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant