antiblock
https://arwen2.global/
  • Chatbox

    Did you check out our Discord? https://discord.gg/FFdvMjk9xA
    You don't have permission to chat.
    Load More
Sign in to follow this  
'PACI

[[Tutorial]] Encriptar Ficheiros .Py

9 posts in this topic

Boas Noites,

Estava sem nada para fazer, decidi deixar este pequeno e simples tutorial ensinando a maneira de encriptar ficheiros .py ( python ).

Bem, Primeiro Fazem download do Python 2.2

Depois Instalam, deve ser instalado em C:

A Seguir no vosso cliente, pegam num ficheiro acabado em .py , por exemplo, serverinfo.py

Colam-no em C:Python22 e depois executam o ficheiro python.exe.

Aparecerá uma janelinha tipo CMD e escrevem o seguinte nela:

import py_compile
Enter

E Depois:

py_compile.compile("ficheiro.py")
Em ficheiro colocam o nome do ficheiro que colaram na pasta Python22

Enter

Após isto, será criado um ficheiro igual ao que encriptaram mas com a extensão .pyc. Copiam-no e colam-no na pasta Lib do cliente e apagam o .py antigo do cliente.

É tudo,

Cumprimentos.

Share this post


Link to post
Share on other sites
antiblock
Rodnia | Alpha & Omega

Diz-me lá.. Para que queres encriptar ficheiros .py ¿

Share this post


Link to post
Share on other sites
Só vim dizer como se faz ...

Share this post


Link to post
Share on other sites

Só acho um pouco, senão, muito, desnecessário :o

Share this post


Link to post
Share on other sites
Cada um tem as suas opiniões ;)

Share this post


Link to post
Share on other sites

Vá.. Não digo mais, apenas gosto de um bom offtopic :D* Bom tutorial caro membro do cyber-gamers.org ^^Cumprimentos,Moisés.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this