elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Security Series.XSS. [Cross Site Scripting]


  Mostrar Mensajes
Páginas: 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 ... 55
101  Programación / Scripting / [Bath] Sleep + msg.exe no funciona en: 3 Agosto 2015, 12:52 pm
Hola, teniendo esto:

Código
  1. ping 1.1.1.1 -n 1 -w 15000 > nul
  2. msg * hola!
Lo abro, cambio de usuario y espero recibir un 'hola!' pero no aparece nada.
Tampoco si abro cmd y utilizo msg * hola!
Solo si envió mensajes hasta el usuario desde el que ejecuto el comando.

Por que ?

Un saludo
102  Programación / Scripting / [Python] Imprimir mas rápido en: 3 Agosto 2015, 11:09 am
Hola tengo este codigo:

Código
  1. from os import system
  2. from msvcrt import getch
  3. import colorama
  4. from colorama import Fore
  5. import json
  6.  
  7. colorama.init()
  8.  
  9. maxX = 80
  10. maxY = 40
  11.  
  12. system('mode 80,40')
  13. class posistion:
  14. def __init__(self):
  15. self.x = 0
  16. self.y = 1
  17. def addX(self,v = 1):
  18. if self.x < maxX - 1:
  19. self.x += v
  20. if self.x < 0:
  21. self.x = 0
  22. return self.x
  23. else:
  24. return -1
  25. def addY(self,v = 1):
  26. if self.y < maxY - 1:
  27. self.y += v
  28. if self.y < 1:
  29. self.y = 1
  30. return self.y
  31. else:
  32. return -1
  33. class cForSave:
  34. pass
  35.  
  36. def Mprint(m):
  37. r = '\n'
  38. for i,x in enumerate(m):
  39. for j,y in enumerate(x):
  40. if i == pos.y and j == pos.x:
  41. r += (Fore.RED + y)
  42. elif y == ' ':
  43. r += (Fore.WHITE + y)
  44. else:
  45. r += (Fore.WHITE + y)
  46. print r,
  47. #print pos.x,pos.y
  48.  
  49.  
  50. pos = posistion()
  51. matrix = [[' ' for x in range(1,maxX + 1)] for x in range(1,maxY + 1)]
  52. while True:
  53. c = getch()
  54. if c == '\000' or c == '\xe0':
  55. key = ord(getch())
  56. if key == 77: # right
  57. pos.addX()
  58. elif key == 75: # left
  59. pos.addX(-1)
  60. elif key == 80: # bottom
  61. pos.addY()
  62. elif key == 72: # top
  63. pos.addY(-1)
  64. elif c == '\t': # Save monster to file
  65. f = open('monster','w')
  66. s = cForSave()
  67. s.matrix = matrix
  68. s.pos = pos
  69. json.dump(s,f)
  70. f.close()
  71. system('cls')
  72. print 'Monster saved!'
  73. system('pause')
  74. elif c == '\r': # Load monster from file
  75. try:
  76. f = open('monster','r')
  77. s = json.load(f)
  78. matrix = s.matrix
  79. pos = s.pos
  80. except IOError:
  81. system('cls')
  82. print 'Monster file not found!'
  83. system('pause')
  84. else:
  85. matrix[pos.y][pos.x] = c
  86. system('cls')
  87.  
  88. Mprint(matrix)
  89.  
  90.  
Funciona pero muy lento y la pantalla parpadea. Es mi segundo programa en python y no se me ocurrió otra manera. No se como modificar solo un carácter del terminal con python y no reescribir todo.

Un saludo
103  Programación / Scripting / Re: hotlink en: 3 Agosto 2015, 10:47 am
Te explicas un poco mas ? A que hotlink te refieres y que tipo de código necesitas ?

Un saludo
104  Sistemas Operativos / Windows / Re: Windows 8.1 se reinicia al jugar juegos (npsvctrig) en: 2 Agosto 2015, 15:46 pm
no será que el windows tiene corrupto algun archivo ya? (por cosas de virus o locuras de windows)

El Windows no es corrupto porque utilice el mismo disco en otro pc y funcionaba perfecto. No creó que sea un virus.
Si casca con juegos pesados, la pregunta obligada es como anda el tema de temperaturas, ventilación, etc

La temperatura y el ventilador los comprobé, fue lo primero que hice. Pasa sólo con algunos juegos.
Estoy casi seguro de que es un problema de drivers pero no se como averiguar el driver correcto
105  Sistemas Operativos / Windows / Re: Windows 8.1 se reinicia al jugar juegos (npsvctrig) en: 2 Agosto 2015, 12:39 pm
Up
Subir el MEMORY.DMP puede ayudar en algo?
106  Media / Juegos y Consolas / Re: sims 4 en: 30 Julio 2015, 21:39 pm
http://themobilebay.org/search/Sims+4/0/400/0
107  Sistemas Operativos / Windows / Re: Windows 8.1 se reinicia al jugar juegos (npsvctrig) en: 30 Julio 2015, 16:21 pm
Una pequeña parte del resumen gigante de aida xD

Citar
Motherboard:
      CPU Type                                          QuadCore Intel Core i7-4770K, 3900 MHz (39 x 100)
      Motherboard Name                                  Unknown
      Motherboard Chipset                               Intel Lynx Point Z87, Intel Haswell
      System Memory                                     8075 MB  (DDR3-1600 DDR3 SDRAM)
      DIMM1: Corsair CMV8GX3M1A1600C11                  8 GB DDR3-1600 DDR3 SDRAM  (11-11-11-30 @ 800 MHz)  (9-9-9-25 @ 654 MHz)  (7-7-7-20 @ 509 MHz)  (6-6-6-17 @ 436 MHz)
      BIOS Type                                         AMI (01/20/2014)
      Communication Port                                Puerto de comunicaciones (COM1)
      Communication Port                                Puerto de impresora (LPT1)

    Display:
      Video Adapter                                     AMD Radeon R9 200 Series  (3 GB)
      Video Adapter                                     AMD Radeon R9 200 Series  (3 GB)
      Video Adapter                                     AMD Radeon R9 200 Series  (3 GB)
      Video Adapter                                     AMD Radeon R9 200 Series  (3 GB)
      Video Adapter                                     AMD Radeon R9 200 Series  (3 GB)
      Video Adapter                                     AMD Radeon R9 200 Series  (3 GB)
      Video Adapter                                     Intel(R) HD Graphics 4600  (1 GB)
      Video Adapter                                     Intel(R) HD Graphics 4600  (1 GB)
      Video Adapter                                     Intel(R) HD Graphics 4600  (1 GB)
      3D Accelerator                                    AMD Radeon HD 7950 (Tahiti)
      3D Accelerator                                    Intel HD Graphics 4600

    Multimedia:
      Audio Adapter                                     ATI Radeon HDMI @ AMD Tahiti/New Zealand - High Definition Audio Controller
      Audio Adapter                                     Intel Lynx Point HDMI @ Intel Haswell - Mini HD Audio Controller
      Audio Adapter                                     Realtek ALC887 @ Intel Lynx Point PCH - High Definition Audio Controller [C-2]

    Storage:
      IDE Controller                                    Standard SATA AHCI Controller
      Storage Controller                                DAEMON Tools Ultra Virtual SCSI Bus
      Storage Controller                                Microsoft Storage Spaces Controller
      Disk Drive                                        ST1000DM003-1ER162  (1000 GB, 7200 RPM, SATA-III)
      Optical Drive                                     TSSTcorp CDDVDW SH-224DB
      SMART Hard Disks Status                           OK



    Network:
      Primary IP Address                                5.53.219.35
      Primary MAC Address                               74-D4-35-85-EA-F1
      Network Adapter                                   Controladora Realtek PCIe GBE Family  (5.53.219.35)

El PC tiene menos de 1 año y empezó a reiniciar se después de que lo formatee. De windows 7 a windows 8.1. El PC se utilizar para jugar juegos pesados.
A veces se puede jugar sin problemas pero otras se reinicia al primer minuto después de empezar a jugar. No creo que sea una falla de alimentación.

Creo que es problema de los drivers  ;D
Necesitas mas datos?

Un saludo
108  Sistemas Operativos / Windows / Windows 8.1 se reinicia al jugar juegos (npsvctrig) en: 26 Julio 2015, 16:09 pm
Hola tengo un pc en el que no consigo ver el problema.
pc se reinicia de repente sin mostrar ningún aviso. Tampoco se muestra el BSOD.
Comprobé y la temperatura del pc no sube mas de 75% la GPU lo demás es todavía menos.
En el log tengo esto:
Citar
Level Date and Time Source Event ID Task Category
Information 7/26/2015 4:35:17 PM Microsoft-Windows-Winlogon 7001 (1101) User Logon Notification for Customer Experience Improvement Program
Information 7/26/2015 4:34:58 PM Service Control Manager 7026 None "The following boot-start or system-start driver(s) did not load:
dam"
Information 7/26/2015 4:34:54 PM Microsoft-Windows-DHCPv6-Client 51046 Service State Event DHCPv6 client service is started
Information 7/26/2015 4:34:54 PM Microsoft-Windows-Dhcp-Client 50036 Service State Event DHCPv4 client service is started
Information 7/26/2015 4:34:53 PM Microsoft-Windows-UserModePowerService 12 (10) Process C:\Windows\System32\atieclxx.exe (process ID:396) reset policy scheme from {381B4222-F694-41F0-9685-FF5BB260DF2E} to {381B4222-F694-41F0-9685-FF5BB260DF2E}
Information 7/26/2015 4:34:47 PM Microsoft-Windows-FilterManager 6 None File System Filter 'luafv' (6.3, ‎2014‎-‎02‎-‎22T15:14:25.000000000Z) has successfully loaded and registered with Filter Manager.
Information 7/26/2015 4:34:31 PM Microsoft-Windows-Kernel-Processor-Power 55 (47) "Processor 7 in group 0 exposes the following power management capabilities:

Idle state type: ACPI Idle (C) States (2 state(s))

Performance state type: ACPI Performance (P) / Throttle (T) States
Nominal Frequency (MHz): 3501
Maximum performance percentage: 100
Minimum performance percentage: 22
Minimum throttle percentage: 22"
Information 7/26/2015 4:34:31 PM Microsoft-Windows-Kernel-Processor-Power 55 (47) "Processor 5 in group 0 exposes the following power management capabilities:

Idle state type: ACPI Idle (C) States (2 state(s))

Performance state type: ACPI Performance (P) / Throttle (T) States
Nominal Frequency (MHz): 3501
Maximum performance percentage: 100
Minimum performance percentage: 22
Minimum throttle percentage: 22"
Information 7/26/2015 4:34:31 PM Microsoft-Windows-Kernel-Processor-Power 55 (47) "Processor 3 in group 0 exposes the following power management capabilities:

Idle state type: ACPI Idle (C) States (2 state(s))

Performance state type: ACPI Performance (P) / Throttle (T) States
Nominal Frequency (MHz): 3501
Maximum performance percentage: 100
Minimum performance percentage: 22
Minimum throttle percentage: 22"
Information 7/26/2015 4:34:31 PM Microsoft-Windows-Kernel-Processor-Power 55 (47) "Processor 1 in group 0 exposes the following power management capabilities:

Idle state type: ACPI Idle (C) States (2 state(s))

Performance state type: ACPI Performance (P) / Throttle (T) States
Nominal Frequency (MHz): 3501
Maximum performance percentage: 100
Minimum performance percentage: 22
Minimum throttle percentage: 22"
Information 7/26/2015 4:34:31 PM Microsoft-Windows-Kernel-Processor-Power 55 (47) "Processor 6 in group 0 exposes the following power management capabilities:

Idle state type: ACPI Idle (C) States (2 state(s))

Performance state type: ACPI Performance (P) / Throttle (T) States
Nominal Frequency (MHz): 3501
Maximum performance percentage: 100
Minimum performance percentage: 22
Minimum throttle percentage: 22"
Information 7/26/2015 4:34:31 PM Microsoft-Windows-Kernel-Processor-Power 55 (47) "Processor 4 in group 0 exposes the following power management capabilities:

Idle state type: ACPI Idle (C) States (2 state(s))

Performance state type: ACPI Performance (P) / Throttle (T) States
Nominal Frequency (MHz): 3501
Maximum performance percentage: 100
Minimum performance percentage: 22
Minimum throttle percentage: 22"
Information 7/26/2015 4:34:31 PM Microsoft-Windows-Kernel-Processor-Power 55 (47) "Processor 2 in group 0 exposes the following power management capabilities:

Idle state type: ACPI Idle (C) States (2 state(s))

Performance state type: ACPI Performance (P) / Throttle (T) States
Nominal Frequency (MHz): 3501
Maximum performance percentage: 100
Minimum performance percentage: 22
Minimum throttle percentage: 22"
Information 7/26/2015 4:34:31 PM Microsoft-Windows-Kernel-Processor-Power 55 (47) "Processor 0 in group 0 exposes the following power management capabilities:

Idle state type: ACPI Idle (C) States (2 state(s))

Performance state type: ACPI Performance (P) / Throttle (T) States
Nominal Frequency (MHz): 3501
Maximum performance percentage: 100
Minimum performance percentage: 22
Minimum throttle percentage: 22"
Information 7/26/2015 4:34:29 PM Microsoft-Windows-Ntfs 98 None Volume E: (\Device\HarddiskVolume2) is healthy.  No action is needed.
Critical 7/26/2015 4:34:27 PM Microsoft-Windows-Kernel-Power 41 (63) The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly.
Information 7/26/2015 4:34:27 PM Microsoft-Windows-FilterManager 6 None File System Filter 'npsvctrig' (6.3, ‎2013‎-‎08‎-‎22T14:38:22.000000000Z) has successfully loaded and registered with Filter Manager.
Information 7/26/2015 4:34:27 PM Microsoft-Windows-Ntfs 98 None Volume C: (\Device\HarddiskVolume3) is healthy.  No action is needed.
Information 7/26/2015 4:34:20 PM Microsoft-Windows-Ntfs 98 None Volume \\?\Volume{7103d8b7-302d-11e5-8250-806e6f6e6963} (\Device\HarddiskVolume1) is healthy.  No action is needed.
Information 7/26/2015 4:34:19 PM Microsoft-Windows-FilterManager 6 None File System Filter 'WdFilter' (6.3, ‎2015‎-‎01‎-‎30T13:20:58.000000000Z) has successfully loaded and registered with Filter Manager.
Information 7/26/2015 4:34:19 PM Microsoft-Windows-FilterManager 6 None File System Filter 'Wof' (6.3, ‎2014‎-‎03‎-‎13T11:27:29.000000000Z) has successfully loaded and registered with Filter Manager.
Information 7/26/2015 4:34:19 PM Microsoft-Windows-FilterManager 6 None File System Filter 'FileInfo' (6.3, ‎2014‎-‎02‎-‎22T15:13:10.000000000Z) has successfully loaded and registered with Filter Manager.
Information 7/26/2015 4:34:18 PM Microsoft-Windows-Kernel-Boot 30 None The firmware reported boot metrics.
Information 7/26/2015 4:34:18 PM Microsoft-Windows-Kernel-Boot 32 None The bootmgr spent 0 ms waiting for user input.
Information 7/26/2015 4:34:18 PM Microsoft-Windows-Kernel-Boot 18 None There are 0x1 boot options on this system.
Information 7/26/2015 4:34:18 PM Microsoft-Windows-Kernel-Boot 27 None The boot type was 0x0.
Information 7/26/2015 4:34:18 PM Microsoft-Windows-Kernel-Boot 20 None The last shutdown's success status was false. The last boot's success status was true.
Information 7/26/2015 4:34:18 PM Microsoft-Windows-Kernel-General 12 None The operating system started at system time ‎2015‎-‎07‎-‎26T13:34:18.495664700Z.
Information 7/26/2015 4:34:50 PM EventLog 6013 None The system uptime is 32 seconds.
Information 7/26/2015 4:34:50 PM EventLog 6005 None The Event log service was started.
Information 7/26/2015 4:34:50 PM EventLog 6009 None Microsoft (R) Windows (R) 6.03. 9600  Multiprocessor Free.
Error 7/26/2015 4:34:50 PM EventLog 6008 None The previous system shutdown at 4:19:01 PM on ‎7/‎26/‎2015 was unexpected.
Information 7/26/2015 4:11:16 PM Microsoft-Windows-Power-Troubleshooter 1 None "The system has returned from a low power state.

Sleep Time: ‎2015‎-‎07‎-‎26T12:51:30.053921800Z
Wake Time: ‎2015‎-‎07‎-‎26T13:11:08.832026900Z

Wake Source: Device -Controladora de host extensible 3.0 de USB de Intel(R): 0100 (Microsoft)"
Information 7/26/2015 4:11:08 PM Microsoft-Windows-Kernel-Power 131 (33) Firmware S3 times. ResumeCount: 1, FullResume: 1811, AverageResume: 1811
Information 7/26/2015 4:11:08 PM Microsoft-Windows-Kernel-General 1 None "The system time has changed to ‎2015‎-‎07‎-‎26T13:11:08.500000000Z from ‎2015‎-‎07‎-‎26T12:51:35.664466200Z.

Change Reason: System time synchronized with the hardware clock."
Information 7/26/2015 3:51:30 PM Microsoft-Windows-Kernel-Power 42 (64) "The system is entering sleep.

Sleep Reason: System Idle"

Sube el archivo .evtx aquí: https://drive.google.com/file/d/0BwSx2kOJel7xeWtic0p5ZXpRUlE/view?usp=sharing
Al leer vi que justo antes del reinicio se ejecuta:
Filter 'npsvctrig' (6.3, ‎2013‎-‎08‎-‎22T14:38:22.000000000Z) has successfully loaded and registered with Filter Manager.
Ayuden pls
Un saludo
109  Foros Generales / Foro Libre / Re: Esta imagen de un niño estudiando bajo la luz de McDonald's se hace viral en: 12 Julio 2015, 02:27 am
Un saludo
110  Programación / Programación C/C++ / Porque es posible llamar a una función puntero sin usar "*" ? en: 8 Julio 2015, 15:06 pm
Hola,
teniendo esto:
Código
  1. typedef bool (_funct)(char* buffer,int maxLength);
  2. _funct * funct = (_funct*)GetProcAddress(library, "funct");
  3. //Porque es posible llamar a un puntero funcion de esta manera? :
  4. funct(..);
  5. //Me parece mas logico asi:
  6. (*funct)(..);
  7.  

Saludos
Páginas: 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 ... 55
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines