Menú

Mostrar Mensajes

Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.

Mostrar Mensajes Menú

Mensajes - Sentex

#11
Buenas!.

Mi problema es el siguiente:

Tengo un script que quiero pasar a exe pero que no se vea y para ello uso el argumento --noconsole en pyinstaller pero cuando lo ejecuto da error. El script no tiene ningún error ya que funciona perfectamente sin pasarlo a exe. No se si es porque pyinstaller no coje todas las librerías pero necesito solucionarlo pronto. Gracias!.

Script:
https://github.com/MrSentex/RonMalware/blob/master/client.py

Output pyinstaller:
Código (bash) [Seleccionar]

0037:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
672 INFO: PyInstaller: 3.3.1
676 INFO: Python: 2.7.0
678 INFO: Platform: Windows-7-6.1.7601-SP2
685 INFO: wrote C:\RonMalware\client.spec
701 INFO: UPX is not available.
706 INFO: Extending PYTHONPATH with paths
['C:\\RonMalware', 'C:\\RonMalware']
713 INFO: checking Analysis
718 INFO: Building Analysis because out00-Analysis.toc is non existent
726 INFO: Initializing module dependency graph...
774 INFO: Initializing module graph hooks...
902 INFO: running Analysis out00-Analysis.toc
951 INFO: Adding Microsoft.VC90.CRT to dependent assemblies of final executable
  required by c:\Python27\python.exe
997 INFO: Searching for assembly x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none ...
1006 INFO: Found manifest C:\windows\WinSxS\Manifests\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_deadbeef.manifest
1026 INFO: Searching for file msvcr90.dll
1030 INFO: Found file C:\windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_deadbeef\msvcr90.dll
1041 INFO: Searching for file msvcp90.dll
1046 INFO: Found file C:\windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_deadbeef\msvcp90.dll
1060 INFO: Searching for file msvcm90.dll
1064 INFO: Found file C:\windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_deadbeef\msvcm90.dll
1074 INFO: Adding redirect Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 8)
1315 INFO: Caching module hooks...
1331 INFO: Analyzing C:\RonMalware\client.py
4644 INFO: Processing pre-safe import module hook   urllib3.packages.six.moves
11006 INFO: Processing pre-find module path hook   distutils
15789 INFO: Loading module hooks...
15792 INFO: Loading module hook "hook-distutils.py"...
15799 INFO: Loading module hook "hook-PIL.py"...
15807 INFO: Excluding import 'FixTk'
15813 INFO: Excluding import 'Tkinter'
15822 INFO: Excluding import 'PyQt5'
15830 INFO:   Removing import of PyQt5 from module PIL.ImageQt
15843 INFO: Excluding import 'PySide'
15862 INFO:   Removing import of PySide from module PIL.ImageQt
15869 INFO: Excluding import 'PyQt4'
15875 INFO:   Removing import of PyQt4 from module PIL.ImageQt
15885 INFO: Loading module hook "hook-httplib.py"...
15891 INFO: Loading module hook "hook-_tkinter.py"...
16690 INFO: checking Tree
16692 INFO: Building Tree because out00-Tree.toc is non existent
16698 INFO: Building Tree out00-Tree.toc
16977 INFO: checking Tree
16980 INFO: Building Tree because out01-Tree.toc is non existent
16991 INFO: Building Tree out01-Tree.toc
17029 INFO: Loading module hook "hook-PIL.Image.py"...
18325 INFO: Loading module hook "hook-requests.py"...
18339 INFO: Loading module hook "hook-cv2.py"...
21925 INFO: Processing pre-safe import module hook   _xmlplus
22714 INFO: Processing pre-find module path hook   site
22720 INFO: site: retargeting to fake-dir 'c:\\Python27\\lib\\site-packages\\PyInstaller\\fake-modules'
29451 INFO: Loading module hook "hook-certifi.py"...
29468 INFO: Loading module hook "hook-setuptools.py"...
29573 INFO: Loading module hook "hook-PIL.SpiderImagePlugin.py"...
29583 INFO: Excluding import 'FixTk'
29592 INFO: Excluding import 'Tkinter'
29599 INFO: Loading module hook "hook-encodings.py"...
31196 INFO: Loading module hook "hook-numpy.core.py"...
32574 INFO: Loading module hook "hook-sqlite3.py"...
33002 INFO: Loading module hook "hook-sysconfig.py"...
33013 INFO: Loading module hook "hook-xml.py"...
33201 INFO: Loading module hook "hook-pydoc.py"...
33210 INFO: Excluding import 'Tkinter'
33218 INFO:   Removing import of Tkinter from module pydoc
33224 INFO: Loading module hook "hook-pkg_resources.py"...
0046:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
34223 INFO: Processing pre-safe import module hook   win32com
34960 INFO: Loading module hook "hook-pywintypes.py"...
0048:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
35790 INFO: Loading module hook "hook-win32com.py"...
36960 INFO: Loading module hook "hook-pythoncom.py"...
004a:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
37862 INFO: Looking for ctypes DLLs
37944 INFO: Analyzing run-time hooks ...
37962 INFO: Including run-time hook 'pyi_rth__tkinter.py'
37970 INFO: Including run-time hook 'pyi_rth_pkgres.py'
37985 INFO: Including run-time hook 'pyi_rth_win32comgenpy.py'
37997 INFO: Including run-time hook 'pyi_rth_multiprocessing.py'
38030 INFO: Looking for dynamic libraries
38300 INFO: Searching for assembly x86_Microsoft.VC90.MFC_1fc8b3b9a1e18e3b_9.0.21022.8_none ...
38308 INFO: Found manifest c:\Python27\lib\site-packages\Pythonwin\Microsoft.VC90.MFC.manifest
38321 INFO: Searching for file mfc90.dll
38324 INFO: Found file c:\Python27\lib\site-packages\Pythonwin\mfc90.dll
38332 INFO: Searching for file mfc90u.dll
38336 INFO: Found file c:\Python27\lib\site-packages\Pythonwin\mfc90u.dll
38347 INFO: Searching for file mfcm90.dll
38365 INFO: Found file c:\Python27\lib\site-packages\Pythonwin\mfcm90.dll
38375 INFO: Searching for file mfcm90u.dll
38379 INFO: Found file c:\Python27\lib\site-packages\Pythonwin\mfcm90u.dll
38390 INFO: Adding redirect Microsoft.VC90.MFC version (9, 0, 21022, 8) -> (9, 0, 21022, 8)
58931 INFO: Looking for eggs
58934 INFO: Using Python library c:\Python27\python27.dll
58945 INFO: Found binding redirects:
[BindingRedirect(name=u'Microsoft.VC90.MFC', language=None, arch=u'x86', oldVersion=(9, 0, 21022, 8), newVersion=(9, 0, 21022, 8), publicKeyToken=u'1fc8b3b9a1e18e3b'), BindingRedirect(name=u'Microsoft.VC90.CRT', language=None, arch=u'x86', oldVersion=(9, 0, 21022, 8), newVersion=(9, 0, 21022, 8), publicKeyToken=u'1fc8b3b9a1e18e3b')]
59011 INFO: Warnings written to C:\RonMalware\build\client\warnclient.txt
59221 INFO: Graph cross-reference written to C:\RonMalware\build\client\xref-client.html
59745 INFO: checking PYZ
59747 INFO: Building PYZ because out00-PYZ.toc is non existent
59758 INFO: Building PYZ (ZlibArchive) C:\RonMalware\build\client\out00-PYZ.pyz
61743 INFO: Building PYZ (ZlibArchive) C:\RonMalware\build\client\out00-PYZ.pyz completed successfully.
62003 INFO: checking PKG
62006 INFO: Building PKG because out00-PKG.toc is non existent
62013 INFO: Building PKG (CArchive) out00-PKG.pkg
63257 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 21022, 8)
83576 INFO: Building PKG (CArchive) out00-PKG.pkg completed successfully.
83863 INFO: Bootloader c:\Python27\lib\site-packages\PyInstaller\bootloader\Windows-32bit\runw.exe
83872 INFO: checking EXE
83876 INFO: Building EXE because out00-EXE.toc is non existent
83883 INFO: Building EXE from out00-EXE.toc
83888 INFO: Appending archive to EXE C:\RonMalware\dist\client.exe
83995 INFO: Building EXE from out00-EXE.toc completed successfully.
#12
Mensajería / Re: grupo de hackers en IRC
7 Abril 2018, 14:04 PM
bale con v por favor

#13
Esas imagenes estan en un formato distinto al que tu ves normalmente o están comprimidas busca en google!.
#14
Chrome cifra datos con una librería del propio windows y la única forma de desencriptarla es con tu pc. Digamos que cada windows lo cifra con una pass diferente pues tu teniendo acceso al ordenador lo puedes descifrar pero si tu pasas la db a otro ordenador se te sera imposible desencriptarlo. Por ejemplo en python se usa la libreria win32crypt y para descifrar un valor es:
Código (python) [Seleccionar]

data_uncrypt = win32crypt.CryptUnprotectData(data_crypt, None, None, None, 0)[1]

Este código lo usan herramientas como lazagne para leer las bases de datos de contraseñas de chrome.
#15
Yo es que uso python 2.7 ya que es la version con mas cosicas y la que a mi gusto funciona mejor.
#16
Scripting / Re: Como Pasar .pyw a .Exe
7 Abril 2018, 13:27 PM
Supongo que lo que quieres hacer es crear un .exe desde un .pyw para que no se vea la consola y tal. Pues yo ya encontre la solucion por mi solo y es usar pyinstaller de la siguiente forma: pyinstaller file.py --onefile --noconsole. Y listo ya lo tendrías sin consola y compatible con todos los windows desde el 7 hacia arriba. Si estas en linux tendrás que instalar en wine python y pip instalar pyinstaller usando pip install pyinstaller en una cmd de wine y luego hacer el comando que te proporcione mas arriba y lo tendrás guardado en una carpeta llamada dist.
#17
para saber si es linux o windows un codigo sencillo es el siguiente:
Código (python) [Seleccionar]

import sys

def checkos():
   if sys.platform == "win32":
       return True
   else:
        return False
if checkos():
    print "Windows detectado"
else:
    print "Linux detectado"

Para crear un archivo te recomiendo el siguiente código:
Código (python) [Seleccionar]

with  open("fichero.txt", "w") as file:
    data = file.read()
    print data
    file.close()
#18
pero con python no se puede hacer nada de eso?
#19
No quiero saber si el script esta ejecutandose quiero ejecutar otro script en python en segundo plano. Por ejemplo en windows se puede hacer con powershell pero no se como hacerlo en linux.
#20
Pa ti

Código (python) [Seleccionar]

# -*- coding: utf-8 -*-

def inicio():
print ("-- Menu --")
print("***********")
print ("1- Conversión decimal a binario")
print ("2- Conversión binario a decimal")
print ("3- Conversión binario a hexadecimal")
print ("4- Salir de la aplicación")
print("")
menu = raw_input("ingrese una opción: ")


if menu == "1":
  decimal = raw_input("Ingrese número decimal: ")
  decbin(decimal)
elif menu == "2":
  binario = raw_input("Ingrese número binario: ")
elif menu == "3":
  binario = raw_input("Ingrese número binario: ")
else:
  print "Ha ingresado una opción incorrecta."

def decbin(decimal):
print("Conversión de Decimal (Base 10) a Binario (Base 2)")
binario = bin(int(round(float(decimal))))
print "Su número binario es: ", str(binario)

inicio()


No hace falta print("") solo con print "" funciona en versiones desde la 2.7 en adelante