windows – Running .exe programs from client computer NTFS share is very slow

I have a friend’s Azure Vm that we set up and we are trying to run a program from the server through an NTFS share folder mapped to the client side PC. When the program is installed on the local server it runs phenomenally, but loaded to the AzureVM and the correct Port mappings in place, the program has a number of latency. Any ideas on why this could be? He would like to be able to run this program anywhere with out setting up VPN or having to use RDP. I am stuck, even with 2 cores, 8 GB ram and a 25g GB premium ssd in the cloud, this sucks. Any help would be appreciated as I would like to see cloud computing move in a direction to eventually assist in replacing the need for on premise hardware and bare metal.

malware – How to run exe upon logon with GPO (Commandline)

I am working on this keylogger project of mine. I have successfully implemented registry, scheduled tasks persistence but am stuck with GPO logon persistence. All online resources i saw are providing info on adding GPO in GUI. I need the command that can be run to register the EXE file in GPO logon. I located the feature i need in the GUI version of Group Policy Editor.
Local GP Editor - Run programs at logon

Can someone point me in the right direction on achieving my goal with commandline? Thanks.

After update launcher changes name of .exe to _old

Hi guys,

Is there anyway of avoiding the name change in the executable after an update? It looks like the name changes to: Search_Engine_Ranker_old.exe .

Thanks in advance

windows 7 – How to hide Procmon from .exe?

Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.




python – Como gerar executável .exe de app com pyspark para rodar em qualquer computador?

Boa tarde, galera!

Estou iniciando em python e spark ao mesmo tempo, devido a necessidades no trabalho.

Elaborei um código para minerar texto de diversos arquivos com PYSPARK (usando ngram) no VS Code e até aí tudo bem. O programa funciona OK!.
Usei o PYINSTALLER para gerar o arquivo executável e funcionou, mas em outro computador não. Daí notei que ele procura pelas variáveis de sistema do SPARK_HOME e alguns arquivos ‘jars’. Preciso disponibilizar o app para outros usuários, mas sem que precisem ter todo o trabalho de instalar o apache-spark e tals. Quero que simplesmente executem o index.exe e o programa execute suas tarefas.

É possível eu gerar o executável junto com todos os arquivos necessários ou pelo menos colocá-los na mesma pasta? Algo assim (seria possível colocar na mesma pasta do executavel ou gerar o executável com ela já dentro, embutida?):
seria possível colocar na mesma pasta do executavel ou gerar o executável com ela já dentro, embutida?

unreal 4 – Unable to turn project into exe file

I’m new to Unreal Engine and I’ve been looking for an answer online but I don’t understand why my project I just started on is unable to project. I used only blueprints. Here is the log.

UATHelper: Packaging (Windows (64-bit)): Running AutomationTool…
UATHelper: Packaging (Windows (64-bit)): Parsing command line: -ScriptsForProject=C:/Users/belmo/OneDrive/Documents/GitHub/EscapeFromDarksidePenitentiary/EscapeFromDarkSide/EscapeFromDarkSide.uproject BuildCookRun -nocompileeditor -installed -nop4 -project=C:/Users/belmo/OneDrive/Documents/GitHub/EscapeFromDarksidePenitentiary/EscapeFromDarkSide/EscapeFromDa
rkSide.uproject -cook -stage -archive -archivedirectory=C:/Users/belmo/OneDrive/Documents/GitHub/EscapeFromDarksidePenitentiary/EscapeFromDarkSide -package -ue4exe=”C:Program FilesEpic GamesUE_4.26EngineBinariesWin64UE4Editor-Cmd.exe” -ddc=InstalledDerivedDataBackendGraph -pak -prereqs -nodebuginfo -targetplatform=Win64 -clientconfig=Development -utf8
output
UATHelper: Packaging (Windows (64-bit)): Setting up ProjectParams for C:UsersbelmoOneDriveDocumentsGitHubEscapeFromDarksidePenitentiaryEscapeFromDarkSideEscapeFromDarkSide.uproject
UATHelper: Packaging (Windows (64-bit)): ********** COOK COMMAND STARTED **********
UATHelper: Packaging (Windows (64-bit)): Running UE4Editor Cook for project C:UsersbelmoOneDriveDocumentsGitHubEscapeFromDarksidePenitentiaryEscapeFromDarkSideEscapeFromDarkSide.uproject
UATHelper: Packaging (Windows (64-bit)): ERROR: Cook failed.
UATHelper: Packaging (Windows (64-bit)): (see C:UsersbelmoAppDataRoamingUnreal EngineAutomationToolLogsC+Program+Files+Epic+Games+UE_4.26Log.txt for full exception trace)
PackagingResults: Error: Cook failed.
UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults: Error: Unknown Cook Failure
LogD3D11RHI: CreateSwapChainForHwnd failed with result ‘DXGI_ERROR_INVALID_CALL’ (0x887A0001), falling back to legacy CreateSwapChain.
LogEditorViewport: Clicking on Actor (LMB): StaticMeshActor (Cube11)
LogSlate: Window ‘Output Log’ being destroyed
LogSlate: Window ‘Output Log’ being destroyed
LogD3D11RHI: CreateSwapChainForHwnd failed with result ‘DXGI_ERROR_INVALID_CALL’ (0x887A0001), falling back to legacy CreateSwapChain.
LogD3D11RHI: CreateSwapChainForHwnd failed with result ‘DXGI_ERROR_INVALID_CALL’ (0x887A0001), falling back to legacy CreateSwapChain.
LogD3D11RHI: CreateSwapChainForHwnd failed with result ‘DXGI_ERROR_INVALID_CALL’ (0x887A0001), falling back to legacy CreateSwapChain.
LogD3D11RHI: CreateSwapChainForHwnd failed with result ‘DXGI_ERROR_INVALID_CALL’ (0x887A0001), falling back to legacy CreateSwapChain.
LogD3D11RHI: CreateSwapChainForHwnd failed with result ‘DXGI_ERROR_INVALID_CALL’ (0x887A0001), falling back to legacy CreateSwapChain.
LogD3D11RHI: CreateSwapChainForHwnd failed with result ‘DXGI_ERROR_INVALID_CALL’ (0x887A0001), falling back to legacy CreateSwapChain.
LogD3D11RHI: CreateSwapChainForHwnd failed with result ‘DXGI_ERROR_INVALID_CALL’ (0x887A0001), falling back to legacy CreateSwapChain.
LogD3D11RHI: CreateSwapChainForHwnd failed with result ‘DXGI_ERROR_INVALID_CALL’ (0x887A0001), falling back to legacy CreateSwapChain.
LogD3D11RHI: CreateSwapChainForHwnd failed with result ‘DXGI_ERROR_INVALID_CALL’ (0x887A0001), falling back to legacy CreateSwapChain.
LogD3D11RHI: CreateSwapChainForHwnd failed with result ‘DXGI_ERROR_INVALID_CALL’ (0x887A0001), falling back to legacy CreateSwapChain.
LogD3D11RHI: CreateSwapChainForHwnd failed with result ‘DXGI_ERROR_INVALID_CALL’ (0x887A0001), falling back to legacy CreateSwapChain.
LogEditorViewport: Clicking on Actor (LMB): StaticMeshActor (Cube11)

How to Block .exe in Windows Firewall with batch file (script)

I am new to StackExchange so apologies in advance if I post anything that does not confirm to the rules.

I would like to be able to block a program (.exe) in the windows firewall by running a batch file.

I have had a dig around the internet and narrowed my search to the below script for achieving what I want. However, it does not seem to work when I run it in .bat format.

Is anyone able to assist please. Many thanks.

for %%G in (“C:Program FilesExampleExampleexample*.exe”) do (
netsh advfirewall firewall add rule name=”Blocked With Batchfile %%G” dir=in action=block program=”%%G” enable=yes profile=any netsh advfirewall firewall add rule name=”Blocked With Batchfile %%G” dir=out action=block program=”%%G” enable=yes profile=any
)

python 3.x – Estou tentando transformar meu script em um .exe, mas quando executo o arquivo recebo o erro ‘Failed to execute script LoginScreen’

Quando executo o script não recebo nenhum erro, mas na hora de executar o .exe da erro, pesquisei bastante sobre e talvez seja o path do banco de dados que eu não especifiquei, mas já tentei algumas alternativas e nada deu certo, caso precisem de mais alguma informação é só falar!!!

import tkinter
from openpyxl.workbook import Workbook
from openpyxl import load_workbook

# Designing window for login
def login_screen_function():
    global main_screen
    main_screen.withdraw()

    global login_screen
    global username_entry
    global password_entry

    login_screen = tkinter.Toplevel()
    login_screen.geometry('300x200')
    login_screen.title('Login Screen')

    welcome_label = tkinter.Label(login_screen, text='Welcome to Rossix')
    welcome_label.place(x=150, y=30, anchor='center')

    username_label = tkinter.Label(login_screen, text='Username: ')
    username_label.place(x=10, y=50)
    username_entry = tkinter.StringVar()
    username_entry = tkinter.Entry(login_screen, width=25, textvariable=username_entry)
    username_entry.place(x=90, y=52)

    password_label = tkinter.Label(login_screen, text='Password: ')
    password_label.place(x=10, y=90)
    password_entry = tkinter.StringVar()
    password_entry = tkinter.Entry(login_screen, width=25, textvariable=password_entry, show='*')
    password_entry.place(x=90, y=92)

    login_button = tkinter.Button(login_screen, text='Login', width=7, command=login_function)
    login_button.place(x=150, y=140, anchor='center')


# Designing window for registration
def register_screen_function():
    global main_screen
    main_screen.withdraw()

    global register_screen
    global username_entry
    global password_entry
    global confirmation_entry

    register_screen = tkinter.Toplevel()
    register_screen.geometry('300x240')
    register_screen.title('Register Screen')

    welcome_label = tkinter.Label(register_screen, text='Welcome to Rossix')
    welcome_label.place(x=150, y=30, anchor='center')

    username_label = tkinter.Label(register_screen, text='Username: ')
    username_label.place(x=10, y=50)
    username_entry = tkinter.StringVar()
    username_entry = tkinter.Entry(register_screen, width=25, textvariable=username_entry)
    username_entry.place(x=100, y=52)

    password_label = tkinter.Label(register_screen, text='Password: ')
    password_label.place(x=10, y=90)
    password_entry = tkinter.StringVar()
    password_entry = tkinter.Entry(register_screen, width=25, textvariable=password_entry, show='*')
    password_entry.place(x=100, y=92)

    confirmation_label = tkinter.Label(register_screen, text='Confirmation: ')
    confirmation_label.place(x=10, y=130)
    confirmation_entry = tkinter.StringVar()
    confirmation_entry = tkinter.Entry(register_screen, width=25, textvariable=confirmation_entry, show='*')
    confirmation_entry.place(x=100, y=132)

    register_button = tkinter.Button(register_screen, text='Register', width=7, command=register_function)
    register_button.place(x=150, y=180, anchor='center')


# Implementing event on register button
def register_function():
    global username_entry
    global password_entry
    global confirmation_entry

    username = username_entry.get().lower()
    password = password_entry.get()
    confirmation = confirmation_entry.get()

    if len(username) == 0:
        error_blank_field_function()
    elif len(password) == 0:
        error_blank_field_function()
    elif len(confirmation) == 0:
        error_blank_field_function()
    else:
        if password != confirmation:
            error_password_match_function()
        else:
            # Create workbook instance
            wb = Workbook()
            # Load existing workbook
            wb = load_workbook('LoginData.xlsx')
            # Create active worksheet
            ws = wb.active
            pos = str(ws.max_row + 1)
            print(pos)
            ws('A' + pos) = username
            ws('B' + pos) = password
            wb.save('LoginData.xlsx')
            register_success_screen_function()


# Implementing event on Login button
def login_function():
    #global main_screen

    global username_entry
    global password_entry

    username = username_entry.get().lower()
    password = password_entry.get()

    count = 0

    if len(username) == 0:
        error_blank_field_function()
    elif len(password) == 0:
        error_blank_field_function()
    else:
        username_validator()
        if username_validator() == True:
            password_validator()
            if password_validator() == True:
                login_success_screen_function()
            else:
                wrong_password_function()
        else:
            username_not_found_function()


# Function to validade password
def password_validator():
    global password_entry

    password = password_entry.get()

    wb = Workbook()
    wb = load_workbook('LoginData.xlsx')
    ws = wb.active
    max = ws.max_row + 1
    for cell in range(1, max):
        pos = str(cell)
        if ws('B' + pos).value == password:
            return True
    return False


# Function to validate username
def username_validator():
    global username_entry

    username = username_entry.get().lower()

    wb = Workbook()
    wb = load_workbook('LoginData.xlsx')
    ws = wb.active
    max = ws.max_row + 1
    for cell in range(1, max):
        pos = str(cell)
        if ws('A' + pos).value == username:
            return True
    return False


# Designing popup for successful login
def login_success_screen_function():
    global login_success_screen

    login_success_screen = tkinter.Toplevel()
    login_success_screen.geometry('300x150')
    login_success_screen.title('Login message!')

    label = tkinter.Label(login_success_screen, text='Successfully logged in!')
    label.place(x=150, y=30, anchor='center')

    button = tkinter.Button(login_success_screen, text='Ok', command=destroy_login_success_screen_function)
    button.place(x=150, y=80, anchor='center')


# Designing popup for successful register
def register_success_screen_function():
    global register_success_screen

    register_success_screen = tkinter.Toplevel()
    register_success_screen.geometry('300x150')
    register_success_screen.title('Register message')

    label = tkinter.Label(register_success_screen, text='Account successfully registered!')
    label.place(x=150, y=30, anchor='center')

    button = tkinter.Button(register_success_screen, text='Ok', command=destroy_register_success_screen_function)
    button.place(x=150, y=80, anchor='center')


# Designing popup for username not found
def username_not_found_function():
    global username_not_found

    username_not_found = tkinter.Toplevel()
    username_not_found.geometry('300x150')
    username_not_found.title('Error message')

    erro_label = tkinter.Label(username_not_found, text='User not found')
    erro_label.place(x=150, y=30, anchor='center')

    error_button = tkinter.Button(username_not_found, text='Ok', command=destroy_username_not_found_function)
    error_button.place(x=150, y=80, anchor='center')


# Designing popup for wrong password
def wrong_password_function():
    global error_password

    error_password = tkinter.Toplevel()
    error_password.geometry('300x150')
    error_password.title('Error')

    erro_label = tkinter.Label(error_password, text='Wrong Password')
    erro_label.place(x=150, y=30, anchor='center')

    error_button = tkinter.Button(error_password, text='Ok', command=destroy_error_password_function)
    error_button.place(x=150, y=80, anchor='center')


# Designing popup for wrong password and confirmation
def error_password_match_function():
    global error_password_match

    error_password_match = tkinter.Toplevel()
    error_password_match.geometry('300x150')
    error_password_match.title('Error')

    erro_label = tkinter.Label(error_password_match, text='Password and confirmation DOES NOT match!')
    erro_label.place(x=150, y=30, anchor='center')

    error_button = tkinter.Button(error_password_match, text='Ok', command=destroy_error_password_match_function)
    error_button.place(x=150, y=80, anchor='center')


# Designing popup for blank fields
def error_blank_field_function():
    global error_blank_field

    error_blank_field = tkinter.Toplevel()
    error_blank_field.geometry('300x150')
    error_blank_field.title('Error')

    erro_label = tkinter.Label(error_blank_field, text='Fill in all the fields, please.')
    erro_label.place(x=150, y=30, anchor='center')

    error_button = tkinter.Button(error_blank_field, text='Ok', command=destroy_error_blank_field_function)
    error_button.place(x=150, y=80, anchor='center')


# Deleting popups
def destroy_username_not_found_function():
    username_not_found.destroy()


def destroy_error_password_function():
    error_password.destroy()


def destroy_login_success_screen_function():
    login_success_screen.destroy()
    login_screen.destroy()
    main_screen_function()


def destroy_register_success_screen_function():
    register_success_screen.destroy()
    register_screen.destroy()
    main_screen.deiconify()


def destroy_error_password_match_function():
    error_password_match.destroy()


def destroy_error_blank_field_function():
    error_blank_field.destroy()


# Designing window for main (first) screen
def main_screen_function():
    global main_screen

    main_screen = tkinter.Tk()
    main_screen.geometry('200x100')
    main_screen.title('Main Screen')

    welcome_label = tkinter.Label(main_screen, text='Main Screen')
    welcome_label.place(x=100, y=30, anchor='center')

    login_button = tkinter.Button(main_screen, text='Login', width=7, command=login_screen_function)
    login_button.place(x=60, y=65, anchor='center')

    register_button = tkinter.Button(main_screen, text='Register', width=7, command=register_screen_function)
    register_button.place(x=140, y=65, anchor='center')

    main_screen.mainloop()


main_screen_function()

How do I open a extension from a exe file?

Hi I am working on a Programming Language.
I completed all code I should just convert it into .exe file but how can I open any other extension (Like:PL.app).
Can anyone help.

Thank you

-Levers

script – Executar todos .exe em uma pasta

estou fazendo testes de malwares em uma VM e preciso de um script para executa-los.
Tentei usar batch usando start, tentei script no powershell, mas todos travam em algum momento, seja por que o processo anterior não finalizou, ou pelo arquivo ter sido movido pelo AV. Pelo CMD até funciona mas exibe muitos pop-ups que não encontrou arquivo X, e se não clicar o script não avança. Usei timeout /t 2 pra ter um intervalo.

Basicamente só preciso de algo que execute cada .exe mesmo que o processo anterior não tenha sido finalizado.