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

 

 


Tema destacado: (TUTORIAL) Aprende a emular Sentinel Dongle By Yapis


  Mostrar Temas
Páginas: 1 2 3 4 [5] 6 7 8 9 10 11 12 13 14
41  Comunicaciones / Redes / Es posible evitar abrir puertos? en: 28 Mayo 2014, 21:46 pm
Uff, le estoy dando ya demasiadas vueltas a mi proyecto. Mi duda es simple. Si instalo Skype no tengo que abrir puertos (por norma general). Lo abro y lo uso. Lo mismo con Steam, Origin y cualquier juego online. ¿Cómo puedo hacer esto con mi aplicación? Si le meto puertos como el 80, el 22 o el 8080 no consigue conectar a no ser que me meta en el router y redirija el puerto.

Saludos ;)
42  Comunicaciones / Redes / No es posible conectar a servidor externo. en: 28 Mayo 2014, 16:28 pm
Buenas. He implementado un servidor de eco simple en java (ServerSockets, Sockets...) No se si hará falta el code para mi duda.
Pues resulta que si lo uso en local funciona divinamente pero si introduzco mi IP pública, el cliente no consigue conectarse. Uso el puerto 5000 como escucha y lo he abierto en el router para cualquiera. Pienso que puede ser algo relacionado con el enrutamiento :S

Mi router es el Netgear Genie CG3100D de ONO.

Saludos ;)
43  Programación / Java / [RESUELTO]Crear una cola de conexiones de Socket en un ServerSocket. en: 24 Mayo 2014, 15:25 pm
Buenas, no estaba seguro de que preguntas de programación fueran en Redes, por lo que lo puse aquí.

Tengo un servidor que recibe conexiones de socket. Solo puede procesar una a la vez, pero quiero que si un segundo cliente intenta conectarse espere hasta que pueda. Había pensado hacerlo con una cola, pero no se "qué meter" dentro de la cola.

Aquí el code de mi Servidor:
Código
  1. import java.io.BufferedReader;
  2. import java.io.IOException;
  3. import java.io.InputStreamReader;
  4. import java.io.PrintWriter;
  5. import java.net.ServerSocket;
  6. import java.net.Socket;
  7.  
  8.  
  9. public class Servidor extends Thread{
  10.  
  11. private int port;
  12. private ServerSocket server;
  13. private Socket sck;
  14.  
  15. public Servidor() {
  16. port = 5000;
  17.  
  18. }
  19. public Servidor(int i) {
  20. port = i;
  21.  
  22. }
  23.  
  24. public boolean Connect() {
  25. try {
  26.  
  27. server = new ServerSocket(port);
  28. System.out.println("Servidor esperando conexión.");
  29. sck = server.accept();
  30.  
  31. return true;
  32. } catch (IOException e) {
  33. // TODO Auto-generated catch block
  34. e.printStackTrace();
  35. System.out.println("Error con la conexión");
  36. return false;
  37. }
  38.  
  39. }
  40.  
  41. public boolean Disconnect() {
  42. try {
  43.  
  44. sck.close();
  45. server.close();
  46.  
  47. return true;
  48. } catch (IOException e) {
  49. // TODO Auto-generated catch block
  50. e.printStackTrace();
  51. System.out.println("Error al desconectar");
  52. return false;
  53. }
  54.  
  55. }
  56.  
  57. public boolean receiveMensaje() {
  58. try {
  59. PrintWriter printer = new PrintWriter(sck.getOutputStream(), true);
  60. BufferedReader reader = new BufferedReader(new InputStreamReader(sck.getInputStream()));
  61.  
  62. System.out.println("Esperando Mensaje...");
  63.  
  64. sck.setSoTimeout(40*1000);
  65. String mensaje = reader.readLine();
  66. while(sck.isConnected() && !mensaje.equals("FIN")) {
  67.  
  68. System.out.println("Recibido: "+mensaje);
  69. if(!mensaje.equals("FIN")) {
  70.  
  71. printer.println(mensaje.toUpperCase());
  72. mensaje = reader.readLine();
  73.  
  74. }
  75. }
  76.  
  77.  
  78. // System.out.println("Server apagandose");
  79. this.Disconnect();
  80.  
  81. return true;
  82. } catch (IOException e) {
  83. System.out.println("Error: Compruebe su conexion o que no ha estado más de 40 segundos inactivo.");
  84. Disconnect();
  85. return false;
  86. }
  87. }
  88.  
  89. public void run() {
  90. while(true) {
  91. Connect();
  92. receiveMensaje();
  93. }
  94. }
  95.  
  96.  
  97. public static void main(String[] args) {
  98. // TODO Auto-generated method stub
  99. Servidor sv = new Servidor();
  100. // Servidor sv = new Servidor(Integer.parseInt(args[0]));
  101. sv.run(); // Porque no necesita ser concurrente.
  102. }

Como veis, la conexion no es más que un 'Socket sck = ServerSocket.accept()"

Entonces cómo podría hacerlo?

Salud ;)
44  Programación / Java / Cómo puedo hacer que un main abra dos consolas distintas? en: 24 Mayo 2014, 12:45 pm
Buenas, he estado buscando (aunque tampoco se como llamarlo exactamente) la posibilidad de que un main abra dos consolas distintas.

Os explico, practicando con UDP he medio programado un chat. Esta es la interfaz primaria:
Código
  1. public class Chat {
  2. private Cliente  cl;
  3. private Servidor sv;
  4.  
  5. public Chat() {
  6. cl = new Cliente();
  7. sv = new Servidor();
  8. }
  9.  
  10. public Chat(String ipServ, int puertSend, int puertRec) {
  11. cl = new Cliente(ipServ, puertSend);
  12. sv = new Servidor(puertRec);
  13. }
  14.  
  15. public void Arrancar() {
  16. sv.Connect();
  17. cl.Connect();
  18. }
  19.  
  20. public static void main(String[] args) {
  21. // TODO Auto-generated method stub
  22. Chat chat = new Chat();
  23. chat.Arrancar();
  24. }
  25.  
  26. }
  27.  
  28.  

Pues bueno, en la consola me aparece el servidor conectando, pero no puede conectar. He pensado hacerlo concurrente, pero mi duda es si hay alguna forma de ejecutar cada trozo en una consola diferente (se que puedo llamarlos por separado, pero quiero saber si se puede).

Saludos ;)

EDITO: Aquí tengo el code en una concurrencia básica:
Código
  1. public class Chat {
  2. private Cliente  cl;
  3. private Servidor sv;
  4.  
  5. public Chat() {
  6. cl = new Cliente();
  7. sv = new Servidor();
  8. //////////////////////////////////////////////
  9. Arrancar();
  10. /////////////////////////////////////////////
  11. }
  12.  
  13. public Chat(String ipServ, int puertSend, int puertRec) {
  14. cl = new Cliente(ipServ, puertSend);
  15. sv = new Servidor(puertRec);
  16. }
  17.  
  18. ////////////////////////////////////////////////////// Procedimiento Arrancar() cambiado entero
  19. public void Arrancar() {
  20. sv.start();
  21. cl.start();
  22.  
  23. try {
  24. sv.join();
  25. cl.join();
  26. } catch (InterruptedException e) {
  27. // TODO Auto-generated catch block
  28. e.printStackTrace();
  29. }
  30. }
  31.  
  32. public static void main(String[] args) {
  33. // TODO Auto-generated method stub
  34. new Chat();
  35. }
  36.  
  37. }
  38.  
  39.  
45  Foros Generales / Foro Libre / Recogida de Firma para hacer de la Informática una Ingeniería en España en: 19 Mayo 2014, 16:06 pm
Pues eso gente, a ver si se consigue algo :s. Espero que podais ayudar y compartir vosotros también ;) A ver si conseguimos que se nos trate de una vez como merecemos ^^
http://www.change.org/es/peticiones/ministerio-de-econom%C3%ADa-y-competitividad-trato-igualitario-a-ingenier%C3%ADas-en-inform%C3%A1tica-en-la-futura-lscp#supporters

Saludos ;)
46  Programación / PHP / Algo me falla en la inserción en BBDD en: 15 Mayo 2014, 13:07 pm
Buenas gente. Llevo ya como dos horas dandole vueltas y probando un code y nada.

El code es el siguiente:

Código
  1. <?php
  2. class Usuarios{
  3.  
  4. public $id_user = 0;
  5.  
  6. function conectar() {
  7. $server = "mysql.host.es";
  8. $usuario        = "user";
  9. $pass        = "password";
  10. $BD = "database";
  11.  
  12. //$conexion = mysql_connect($server, $usuario, $pass, $BD);
  13. $conexion = mysql_connect($server, $usuario, $pass);
  14. mysql_select_db($BD, $conexion);
  15.  
  16.  
  17. if($conexion) {
  18. echo 'La conexion a la base de datos ha sido un exito<br>';
  19. } else {
  20. echo 'Ha sucedido un error inesperado en la conexion<br>';
  21. }
  22.  
  23. return $conexion;
  24.  
  25. }
  26.  
  27.  
  28. function desconectar($conexion) {
  29. $close = mysqli_close($conexion);
  30.  
  31. if($close) {
  32. echo 'La desconexion a la base de datos ha sido un exito<br>';
  33. } else {
  34. echo 'Ha sucedido un error inesperado en la desconexion<br>';
  35. }
  36.  
  37. return $close;
  38. }
  39.  
  40. //Funcion que devuelve un array multidimensional con el resultado de la consulta
  41. function getArraySQL($sql) {
  42. $conexion = $this->conectarBD();
  43. //generamos la consulta
  44. if(!$result = mysqli_query($conexion, $sql)) die();
  45.  
  46. $rawdata = array();
  47.  
  48. //guardamos en un array multidimensional todos los valores de la consulta
  49. $i = 0;
  50. while ($row = mysqli_fetch_array($result)) {
  51. $rawdata[$i] = $row;
  52. $i++;
  53. }
  54.  
  55. $this->desconectarBD($conexion);
  56. return $rawdata;
  57. }
  58.  
  59. function createUser($nick, $ip) {
  60. $conexion = $this->conectar();
  61.  
  62. $sql = "Insert Into Usuario Values ('".$nick."', ".$ip.")";
  63. $consulta = mysqli_query($conexion, $sql);
  64.  
  65. if(!$consulta){
  66.               echo "No se ha podido insertar el usuario en la base de datos<br>".mysqli_error($conexion);
  67.            }
  68. $this->desconectarBD($conexion);
  69. return $consulta;
  70. }
  71. }
  72.  
  73. //Vamos a crear un objeto para probar
  74. echo 'Conectando<br>';
  75. $userObject = new Usuarios();
  76. echo 'ObjetoCreado<br>';
  77. $userObject->createUser('Nitro', 19216811);
  78. echo 'fin';
  79. ?>
  80.  

Lo mas coñazo es que para ver si está bien tengo que estar subiéndolo y abriéndolo desde el servidor U.u'

Este es el link donde está subido: http://practicandoconphp.hol.es/PHPparaJava.php

Ya he probado poniendole la ip en $userObject->createUser('Nitro', 19216811); con y sin comillas, cambiando de orden $conexion y $sql en $consulta... Nada. Me falla en $sql y $consulta.

El nombre de la tabla en la bbdd se llama Usuario y sus columnas son Nick (varchar(10)) y IP (bigint(12)).

Qué me falla?

Gracias ;)
47  Informática / Software / Juegos gratis en Origin (Plants vs Zombies) en: 10 Mayo 2014, 02:59 am
Buenas. Hace 3 o 4 días regalaban el Dead Space, Hoy Plants vs Zombies. Solo es necesario tener una cuenta de Origin (es gratis).
https://www.origin.com/es-es/store/on-the-house

Espero que esto no se considere spam... :s No saco nada con esto, solo quiero ayudar ^^

Saludos ;)
48  Seguridad Informática / Seguridad / Errores en Windows en: 9 Mayo 2014, 16:22 pm
Bueno. He de decir que no sé si esto debería ir aquí o en Malware, pero le he pasado a mi pc el dr Web Cure it recién descargado por si acaso y éste ha sido el resultado.


Lo he eliminado.

Ahí ya le había cambiado la fecha por la buena. La primera vez que lo encendí me salia del año 6700 nosecuantos. Lo reinicie desconectado de internet y salía el 31/12/2004. Le he cambiado la fecha y le he sacado esta foto:

Nota: Algo muy curioso ocurre en la derecha de la imagen, pero hay que usar el scroll horizontal para verlo.

No me dejaba conectarme a la red, aunque supongo que sería por la fecha. Tambien se ha cancelado la entrada directa a los sites (como éste) de forma que me vuelve a pedir user y pass (Pienso que puede ser porque hayan caducado las cookies :s )

En un rato reiniciaré para checkear que el disco esté correcto. Si vuelve a salirme más cosas raras editaré el post.

Abriendo Hijackthis (de aquí) me ha salido ésta ventana (La cual no recuerdo):


El log es el siguiente:
Citar
Logfile of Trend Micro HijackThis v2.0.4
Scan saved at 16:21:59, on 09/05/2014
Platform: Windows 7 SP1 (WinNT 6.00.3505)
MSIE: Internet Explorer v11.0 (11.00.9600.17041)
Boot mode: Normal

Running processes:
C:\Program Files (x86)\Intel\Intel(R) Rapid Storage Technology\IAStorIcon.exe
C:\Program Files (x86)\EgisTec IPS\PmmUpdate.exe
C:\Program Files (x86)\NewTech Infosystems\Acer Backup Manager\BackupManagerTray.exe
C:\Program Files (x86)\EgisTec IPS\EgisUpdate.exe
C:\Users\Adrián\AppData\Local\Google\Chrome\Application\chrome.exe
C:\Users\Adrián\AppData\Local\Google\Chrome\Application\chrome.exe
C:\Users\Adrián\AppData\Local\Google\Chrome\Application\chrome.exe
C:\Users\Adrián\AppData\Local\Google\Chrome\Application\chrome.exe
C:\Users\Adrián\AppData\Local\Google\Chrome\Application\chrome.exe
C:\Users\Adrián\AppData\Local\Google\Chrome\Application\chrome.exe
C:\Users\Adrián\AppData\Local\Google\Chrome\Application\chrome.exe
C:\Users\Adrián\Downloads\HijackThis.exe
C:\Users\Adrián\AppData\Local\Google\Chrome\Application\chrome.exe
C:\Users\Adrián\AppData\Local\Google\Chrome\Application\chrome.exe
C:\Windows\SysWOW64\DllHost.exe

R1 - HKCU\Software\Microsoft\Internet Explorer\Main,Search Page = http://go.microsoft.com/fwlink/?LinkId=54896
R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Default_Page_URL = about:blank
R1 - HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings,ProxyServer = proxy.wifi.uma.es:3128
R1 - HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings,ProxyOverride = *.local;<local>
F2 - REG:system.ini: UserInit=userinit.exe
O2 - BHO: AcroIEHelperStub - {18DF081C-E8AD-4283-A596-FA578C2EBDC3} - C:\Program Files (x86)\Common Files\Adobe\Acrobat\ActiveX\AcroIEHelperShim.dll
O2 - BHO: Microsoft Web Test Recorder 12.0 Helper - {432dd630-7e03-4c97-9d62-b99f52df4fc2} - C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.QualityTools.RecorderBarBHO100.dll
O2 - BHO: Java(tm) Plug-In SSV Helper - {761497BB-D6F0-462C-B6EB-D4DAF1D92D43} - C:\Program Files (x86)\Java\jre7\bin\ssv.dll
O2 - BHO: Aplicación auxiliar de inicio de sesión de Windows Live ID - {9030D464-4C02-4ABF-8ECC-5164760863C6} - C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live\WindowsLiveLogin.dll
O2 - BHO: URLRedirectionBHO - {B4F3A835-0E21-4959-BA22-42B3008E02FF} - C:\PROGRA~2\MICROS~2\Office15\URLREDIR.DLL
O2 - BHO: Java(tm) Plug-In 2 SSV Helper - {DBC80044-A445-435b-BC74-9C25C1C588A9} - C:\Program Files (x86)\Java\jre7\bin\jp2ssv.dll
O2 - BHO: YoutubeAdblocker - {FCE8EF8B-CB84-AD0F-4512-AF03E2444444} - C:\Program Files (x86)\YoutubeAdblocker\zih5p9n.dll (file missing)
O4 - HKLM\..\Run: [IAStorIcon] C:\Program Files (x86)\Intel\Intel(R) Rapid Storage Technology\IAStorIcon.exe
O4 - HKLM\..\Run: [EgisUpdate] "C:\Program Files (x86)\EgisTec IPS\EgisUpdate.exe" -d
O4 - HKLM\..\Run: [EgisTecPMMUpdate] "C:\Program Files (x86)\EgisTec IPS\PmmUpdate.exe"
O4 - HKLM\..\Run: [BackupManagerTray] "C:\Program Files (x86)\NewTech Infosystems\Acer Backup Manager\BackupManagerTray.exe" -h -k
O4 - HKLM\..\Run: [StartCCC] "C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static\CLIStart.exe" MSRun
O4 - HKLM\..\Run: [SunJavaUpdateSched] "C:\Program Files (x86)\Common Files\Java\Java Update\jusched.exe"
O4 - HKLM\..\Run: [BlueStacks Agent] C:\Program Files (x86)\BlueStacks\HD-Agent.exe
O4 - HKCU\..\Run: [Google Update] "C:\Users\Adrián\AppData\Local\Google\Update\GoogleUpdate.exe" /c
O4 - HKCU\..\Run: [Akamai NetSession Interface] "C:\Users\Adrián\AppData\Local\Akamai\netsession_win.exe"
O4 - HKCU\..\Run: [SteelSeries Engine] C:\Program Files\SteelSeries\SteelSeries Engine\SteelSeriesEngine.exe
O4 - HKCU\..\Run: [GoogleDriveSync] "C:\Program Files (x86)\Google\Drive\googledrivesync.exe" /autostart
O4 - HKCU\..\Run: [IDMan] C:\Program Files (x86)\Internet Download Manager\IDMan.exe /onboot
O4 - HKCU\..\Run: [Spotify Web Helper] "C:\Users\Adrián\AppData\Roaming\Spotify\Data\SpotifyWebHelper.exe"
O4 - HKCU\..\Run: [RESTART_STICKY_NOTES] C:\Windows\System32\StikyNot.exe
O4 - Startup: Dropbox.lnk = ?
O4 - Startup: Xcalday.lnk = C:\Program Files (x86)\Xcalday\xcalday.exe
O8 - Extra context menu item: Download all links with IDM - C:\Program Files (x86)\Internet Download Manager\IEGetAll.htm
O8 - Extra context menu item: Download with IDM - C:\Program Files (x86)\Internet Download Manager\IEExt.htm
O8 - Extra context menu item: E&xport to Microsoft Excel - res://C:\PROGRA~2\MICROS~2\Office14\EXCEL.EXE/3000
O8 - Extra context menu item: Se&nd to OneNote - res://C:\PROGRA~2\MICROS~2\Office14\ONBttnIE.dll/105
O10 - Unknown file in Winsock LSP: c:\program files (x86)\common files\microsoft shared\windows live\wlidnsp.dll
O10 - Unknown file in Winsock LSP: c:\program files (x86)\common files\microsoft shared\windows live\wlidnsp.dll
O10 - Unknown file in Winsock LSP: c:\windows\system32\vsocklib.dll
O10 - Unknown file in Winsock LSP: c:\windows\system32\vsocklib.dll
O11 - Options group: [ACCELERATED_GRAPHICS] Accelerated graphics
O15 - Trusted Zone: *.clonewarsadventures.com
O15 - Trusted Zone: *.freerealms.com
O15 - Trusted Zone: *.soe.com
O15 - Trusted Zone: *.sony.com
O18 - Protocol: osf - {D924BDC6-C83A-4BD5-90D0-095128A113D1} - C:\Program Files (x86)\Microsoft Office\Office15\MSOSB.DLL
O18 - Protocol: skype4com - {FFC8B962-9B40-4DFF-9458-1830C7DD7F5D} - C:\PROGRA~2\COMMON~1\Skype\SKYPE4~1.DLL
O18 - Protocol: wlpg - {E43EF6CD-A37A-4A9B-9E6F-83F89B8E6324} - C:\Program Files (x86)\Windows Live\Photo Gallery\AlbumDownloadProtocolHandler.dll
O18 - Filter hijack: text/xml - {807583E5-5146-11D5-A672-00B0D022E945} - C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE15\MSOXMLMF.DLL
O20 - AppInit_DLLs: c:\progra~2\sk-enh~1\psupport.dll
O23 - Service: Adobe Flash Player Update Service (AdobeFlashPlayerUpdateSvc) - Adobe Systems Incorporated - C:\Windows\SysWOW64\Macromed\Flash\FlashPlayerUpdateService.exe
O23 - Service: @%SystemRoot%\system32\aelupsvc.dll,-1 (AeLookupSvc) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\Alg.exe,-112 (ALG) - Unknown owner - C:\Windows\System32\alg.exe (file missing)
O23 - Service: AMD External Events Utility - Unknown owner - C:\Windows\system32\atiesrxx.exe (file missing)
O23 - Service: @%systemroot%\system32\appidsvc.dll,-100 (AppIDSvc) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%systemroot%\system32\appinfo.dll,-100 (Appinfo) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\audiosrv.dll,-204 (AudioEndpointBuilder) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\system32\audiosrv.dll,-200 (AudioSrv) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\system32\AxInstSV.dll,-103 (AxInstSV) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\bdesvc.dll,-100 (BDESVC) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\system32\bfe.dll,-1001 (BFE) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\qmgr.dll,-1000 (BITS) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%systemroot%\system32\browser.dll,-100 (Browser) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: BlueStacks Android Service (BstHdAndroidSvc) - BlueStack Systems, Inc. - C:\Program Files (x86)\BlueStacks\HD-Service.exe
O23 - Service: BlueStacks Log Rotator Service (BstHdLogRotatorSvc) - BlueStack Systems, Inc. - C:\Program Files (x86)\BlueStacks\HD-LogRotatorService.exe
O23 - Service: @%SystemRoot%\System32\bthserv.dll,-101 (bthserv) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%ProgramFiles%\Windows Identity Foundation\v3.5\c2wtsres.dll,-1000 (c2wts) - Unknown owner - C:\Program Files (x86)\Windows Identity Foundation\v3.5\c2wtshost.exe (file missing)
O23 - Service: @%SystemRoot%\System32\certprop.dll,-11 (CertPropSvc) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: Creative ALchemy AL6 Licensing Service - Creative Labs - C:\Program Files (x86)\Common Files\Creative Labs Shared\Service\AL6Licensing.exe
O23 - Service: Creative Audio Engine Licensing Service - Creative Labs - C:\Program Files (x86)\Common Files\Creative Labs Shared\Service\CTAELicensing.exe
O23 - Service: @%SystemRoot%\system32\cryptsvc.dll,-1001 (CryptSvc) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: Creative Audio Service (CTAudSvcService) - Creative Technology Ltd - C:\Program Files (x86)\Creative\Shared Files\CTAudSvc.exe
O23 - Service: @oleres.dll,-5012 (DcomLaunch) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\defragsvc.dll,-101 (defragsvc) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\dhcpcore.dll,-100 (Dhcp) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\System32\dnsapi.dll,-101 (Dnscache) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%systemroot%\system32\dot3svc.dll,-1102 (dot3svc) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%systemroot%\system32\dps.dll,-500 (DPS) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: Dritek WMI Service (DsiWMIService) - Dritek System Inc. - C:\Program Files (x86)\Launch Manager\dsiwmis.exe
O23 - Service: @%systemroot%\system32\eapsvc.dll,-1 (EapHost) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\system32\efssvc.dll,-100 (EFS) - Unknown owner - C:\Windows\System32\lsass.exe (file missing)
O23 - Service: @%SystemRoot%\ehome\ehrecvr.exe,-101 (ehRecvr) - Unknown owner - C:\Windows\ehome\ehRecvr.exe
O23 - Service: @%SystemRoot%\ehome\ehsched.exe,-101 (ehSched) - Unknown owner - C:\Windows\ehome\ehsched.exe
O23 - Service: Acer ePower Service (ePowerSvc) - Acer Incorporated - C:\Program Files\Acer\Acer ePower Management\ePowerSvc.exe
O23 - Service: @%SystemRoot%\system32\wevtsvc.dll,-200 (eventlog) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @comres.dll,-2450 (EventSystem) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%systemroot%\system32\fxsresm.dll,-118 (Fax) - Unknown owner - C:\Windows\system32\fxssvc.exe (file missing)
O23 - Service: @%systemroot%\system32\fdPHost.dll,-100 (fdPHost) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%systemroot%\system32\fdrespub.dll,-100 (FDResPub) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%systemroot%\system32\FntCache.dll,-100 (FontCache) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @gpapi.dll,-112 (gpsvc) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: GREGService - Acer Incorporated - C:\Program Files (x86)\Acer\Registration\GREGsvc.exe
O23 - Service: Servicio de Google Update (gupdate) (gupdate) - Unknown owner - C:\Program Files (x86)\Google\Update\GoogleUpdate.exe
O23 - Service: Servicio de Google Update (gupdatem) (gupdatem) - Unknown owner - C:\Program Files (x86)\Google\Update\GoogleUpdate.exe
O23 - Service: @%SystemRoot%\System32\hidserv.dll,-101 (hidserv) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\kmsvc.dll,-6 (hkmsvc) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\System32\ListSvc.dll,-100 (HomeGroupListener) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\System32\provsvc.dll,-100 (HomeGroupProvider) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: Intel(R) Rapid Storage Technology (IAStorDataMgrSvc) - Intel Corporation - C:\Program Files (x86)\Intel\Intel(R) Rapid Storage Technology\IAStorDataMgrSvc.exe
O23 - Service: InstallDriver Table Manager (IDriverT) - Macrovision Corporation - C:\Program Files (x86)\Common Files\InstallShield\Driver\11\Intel 32\IDriverT.exe
O23 - Service: @%SystemRoot%\system32\ieetwcollectorres.dll,-1000 (IEEtwCollectorService) - Unknown owner - C:\Windows\system32\IEEtwCollector.exe (file missing)
O23 - Service: @%SystemRoot%\system32\ikeext.dll,-501 (IKEEXT) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%systemroot%\system32\IPBusEnum.dll,-102 (IPBusEnum) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\iphlpsvc.dll,-500 (iphlpsvc) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @keyiso.dll,-100 (KeyIso) - Unknown owner - C:\Windows\system32\lsass.exe (file missing)
O23 - Service: @comres.dll,-2946 (KtmRm) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%systemroot%\system32\srvsvc.dll,-100 (LanmanServer) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%systemroot%\system32\wkssvc.dll,-100 (LanmanWorkstation) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\system32\lltdres.dll,-1 (lltdsvc) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\system32\lmhsvc.dll,-101 (lmhosts) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: Intel(R) Management and Security Application Local Management Service (LMS) - Intel Corporation - C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\LMS\LMS.exe
O23 - Service: @%systemroot%\system32\mmcss.dll,-100 (MMCSS) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\FirewallAPI.dll,-23090 (MpsSvc) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @comres.dll,-2797 (MSDTC) - Unknown owner - C:\Windows\System32\msdtc.exe (file missing)
O23 - Service: @%SystemRoot%\system32\iscsidsc.dll,-5000 (MSiSCSI) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\msimsg.dll,-27 (msiserver) - Unknown owner - C:\Windows\system32\msiexec.exe
O23 - Service: @%SystemRoot%\system32\qagentrt.dll,-6 (napagent) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\System32\netlogon.dll,-102 (Netlogon) - Unknown owner - C:\Windows\system32\lsass.exe (file missing)
O23 - Service: @%SystemRoot%\system32\netman.dll,-109 (Netman) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\system32\netprofm.dll,-202 (netprofm) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\System32\nlasvc.dll,-1 (NlaSvc) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: Nalpeiron Licensing Service (nlsX86cc) - Nalpeiron Ltd. - C:\Windows\SysWOW64\NLSSRV32.EXE
O23 - Service: nProtect GameGuard Service (npggsvc) - Unknown owner - C:\Windows\system32\GameMon.des.exe (file missing)
O23 - Service: @%SystemRoot%\system32\nsisvc.dll,-200 (nsi) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: NTI IScheduleSvc - NewTech Infosystems, Inc. - C:\Program Files (x86)\NewTech Infosystems\Acer Backup Manager\IScheduleSvc.exe
O23 - Service: @%SystemRoot%\system32\pnrpsvc.dll,-8004 (p2pimsvc) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\system32\p2psvc.dll,-8006 (p2psvc) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\system32\pcasvc.dll,-1 (PcaSvc) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%systemroot%\sysWow64\perfhost.exe,-2 (PerfHost) - Unknown owner - C:\Windows\SysWow64\perfhost.exe
O23 - Service: @%systemroot%\system32\pla.dll,-500 (pla) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\system32\umpnpmgr.dll,-100 (PlugPlay) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: PnkBstrA - Unknown owner - C:\Windows\system32\PnkBstrA.exe
O23 - Service: @%SystemRoot%\system32\pnrpauto.dll,-8002 (PNRPAutoReg) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\system32\pnrpsvc.dll,-8000 (PNRPsvc) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\System32\polstore.dll,-5010 (PolicyAgent) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\umpo.dll,-100 (Power) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%systemroot%\system32\profsvc.dll,-300 (ProfSvc) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%systemroot%\system32\psbase.dll,-300 (ProtectedStorage) - Unknown owner - C:\Windows\system32\lsass.exe (file missing)
O23 - Service: @%SystemRoot%\system32\qwave.dll,-1 (QWAVE) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%Systemroot%\system32\rasauto.dll,-200 (RasAuto) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%Systemroot%\system32\rasmans.dll,-200 (RasMan) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @regsvc.dll,-1 (RemoteRegistry) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%windir%\system32\RpcEpMap.dll,-1001 (RpcEptMapper) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%systemroot%\system32\Locator.exe,-2 (RpcLocator) - Unknown owner - C:\Windows\system32\locator.exe (file missing)
O23 - Service: @oleres.dll,-5010 (RpcSs) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\samsrv.dll,-1 (SamSs) - Unknown owner - C:\Windows\system32\lsass.exe (file missing)
O23 - Service: @%SystemRoot%\System32\SCardSvr.dll,-1 (SCardSvr) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\schedsvc.dll,-100 (Schedule) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\System32\certprop.dll,-13 (SCPolicySvc) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\sdrsvc.dll,-107 (SDRSVC) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\seclogon.dll,-7001 (seclogon) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\Sens.dll,-200 (SENS) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\System32\sensrsvc.dll,-1000 (SensrSvc) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\System32\SessEnv.dll,-1026 (SessionEnv) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\system32\ipnathlp.dll,-106 (SharedAccess) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\System32\shsvcs.dll,-12288 (ShellHWDetection) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: Skype Updater (SkypeUpdate) - Skype Technologies - C:\Program Files (x86)\Skype\Updater\Updater.exe
O23 - Service: @%SystemRoot%\system32\snmptrap.exe,-3 (SNMPTRAP) - Unknown owner - C:\Windows\System32\snmptrap.exe (file missing)
O23 - Service: Sony PC Companion - Avanquest Software - C:\Program Files (x86)\Sony\Sony PC Companion\PCCService.exe
O23 - Service: @%systemroot%\system32\spoolsv.exe,-1 (Spooler) - Unknown owner - C:\Windows\System32\spoolsv.exe (file missing)
O23 - Service: @%SystemRoot%\system32\sppsvc.exe,-101 (sppsvc) - Unknown owner - C:\Windows\system32\sppsvc.exe (file missing)
O23 - Service: @%SystemRoot%\system32\sppuinotify.dll,-103 (sppuinotify) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%systemroot%\system32\ssdpsrv.dll,-100 (SSDPSRV) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\sstpsvc.dll,-200 (SstpSvc) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: Steam Client Service - Valve Corporation - C:\Program Files (x86)\Common Files\Steam\SteamService.exe
O23 - Service: @%SystemRoot%\system32\wiaservc.dll,-9 (stisvc) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\System32\swprv.dll,-103 (swprv) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\system32\sysmain.dll,-1000 (SysMain) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\TabSvc.dll,-100 (TabletInputService) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\system32\tapisrv.dll,-10100 (TapiSrv) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\system32\tbssvc.dll,-100 (TBS) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: TeamViewer 9 (TeamViewer9) - TeamViewer GmbH - C:\Program Files (x86)\TeamViewer\Version9\TeamViewer_Service.exe
O23 - Service: @%SystemRoot%\System32\termsrv.dll,-268 (TermService) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\System32\themeservice.dll,-8192 (Themes) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%systemroot%\system32\mmcss.dll,-102 (THREADORDER) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\trkwks.dll,-1 (TrkWks) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\servicing\TrustedInstaller.exe,-100 (TrustedInstaller) - Unknown owner - C:\Windows\servicing\TrustedInstaller.exe
O23 - Service: @%SystemRoot%\system32\ui0detect.exe,-101 (UI0Detect) - Unknown owner - C:\Windows\system32\UI0Detect.exe (file missing)
O23 - Service: Intel(R) Management & Security Application User Notification Service (UNS) - Intel Corporation - C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\UNS\UNS.exe
O23 - Service: Updater Service - Acer Group - C:\Program Files\Acer\Acer Updater\UpdaterService.exe
O23 - Service: @%systemroot%\system32\upnphost.dll,-213 (upnphost) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\dwm.exe,-2000 (UxSms) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\system32\vaultsvc.dll,-1003 (VaultSvc) - Unknown owner - C:\Windows\system32\lsass.exe (file missing)
O23 - Service: @%SystemRoot%\system32\vds.exe,-100 (vds) - Unknown owner - C:\Windows\System32\vds.exe (file missing)
O23 - Service: VMware Authorization Service (VMAuthdService) - VMware, Inc. - C:\Program Files (x86)\VMware\VMware Player\vmware-authd.exe
O23 - Service: VMware DHCP Service (VMnetDHCP) - VMware, Inc. - C:\Windows\system32\vmnetdhcp.exe
O23 - Service: VMware USB Arbitration Service (VMUSBArbService) - VMware, Inc. - C:\Program Files (x86)\Common Files\VMware\USB\vmware-usbarbitrator64.exe
O23 - Service: VMware NAT Service - VMware, Inc. - C:\Windows\system32\vmnat.exe
O23 - Service: VNC Server (vncserver) - RealVNC Ltd - C:\Program Files\RealVNC\VNC Server\vncserver.exe
O23 - Service: @%systemroot%\system32\vssvc.exe,-102 (VSS) - Unknown owner - C:\Windows\system32\vssvc.exe (file missing)
O23 - Service: @%SystemRoot%\system32\w32time.dll,-200 (W32Time) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\Wat\WatUX.exe,-601 (WatAdminSvc) - Unknown owner - C:\Windows\system32\Wat\WatAdminSvc.exe (file missing)
O23 - Service: @%systemroot%\system32\wbengine.exe,-104 (wbengine) - Unknown owner - C:\Windows\system32\wbengine.exe (file missing)
O23 - Service: @%systemroot%\system32\wbiosrvc.dll,-100 (WbioSrvc) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\wcncsvc.dll,-3 (wcncsvc) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\system32\WcsPlugInService.dll,-200 (WcsPlugInService) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%systemroot%\system32\wdi.dll,-502 (WdiServiceHost) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%systemroot%\system32\wdi.dll,-500 (WdiSystemHost) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%systemroot%\system32\webclnt.dll,-100 (WebClient) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\wecsvc.dll,-200 (Wecsvc) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\System32\wercplsupport.dll,-101 (wercplsupport) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\System32\wersvc.dll,-100 (WerSvc) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%ProgramFiles%\Windows Defender\MsMpRes.dll,-103 (WinDefend) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\system32\winhttp.dll,-100 (WinHttpAutoProxySvc) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%Systemroot%\system32\wbem\wmisvc.dll,-205 (Winmgmt) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%Systemroot%\system32\wsmsvc.dll,-101 (WinRM) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%SystemRoot%\System32\wlansvc.dll,-257 (Wlansvc) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%Systemroot%\system32\wbem\wmiapsrv.exe,-110 (wmiApSrv) - Unknown owner - C:\Windows\system32\wbem\WmiApSrv.exe (file missing)
O23 - Service: @%PROGRAMFILES%\Windows Media Player\wmpnetwk.exe,-101 (WMPNetworkSvc) - Unknown owner - C:\Program Files (x86)\Windows Media Player\wmpnetwk.exe (file missing)
O23 - Service: @%SystemRoot%\system32\wpcsvc.dll,-100 (WPCSvc) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\wpdbusenum.dll,-100 (WPDBusEnum) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\System32\wscsvc.dll,-200 (wscsvc) - Unknown owner - C:\Windows\System32\svchost.exe
O23 - Service: @%systemroot%\system32\SearchIndexer.exe,-103 (WSearch) - Unknown owner - C:\Windows\system32\SearchIndexer.exe
O23 - Service: @%systemroot%\system32\wuaueng.dll,-105 (wuauserv) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\system32\wudfsvc.dll,-1000 (wudfsvc) - Unknown owner - C:\Windows\system32\svchost.exe
O23 - Service: @%SystemRoot%\System32\wwansvc.dll,-257 (WwanSvc) - Unknown owner - C:\Windows\system32\svchost.exe

--
End of file - 26098 bytes

Espero que me ayudeis. El pc me va bastante lento y eso que he cerrado varios procesos de aplicaciones (todos los que se que no eran importantes)

Salud
49  Programación / Programación C/C++ / Usar archivo que necesita privilegios en: 8 Mayo 2014, 14:14 pm
Buenas. Me disponía a hacer un ejercicio que he visto por aquí pero no consigo leer el fichero.
Este es el enunciado:
 Realizar un programa que lea c:\texto.txt y proporcione las siguientes estadísticas: nº total de caracteres, nº de mayúsculas, nº de consonantes, nº de vocales y las cinco letras mas usadas

Y este es mi code:
Código
  1. #include <iostream> //entrada y salida por consola
  2. #include <fstream> //entrada y salida por ficheros
  3. #include <string> //para String
  4. #include <stdlib.h> //para System
  5. #include <stdio.h> //para Remove
  6.  
  7. using namespace std;
  8.  
  9. //  Realizar un programa que lea c:\texto.txt y proporcione las siguientes estadísticas: nº total de caracteres,
  10. //    nº de mayúsculas, nº de consonantes, nº de vocales y las cinco letras mas usadas
  11.  
  12. int main() {
  13. // Ruta del archivo
  14. string nombreArchivo = "c:\texto.txt";
  15.  
  16. //La paso a const char* para que no se queje el compilador al abrir los ficheros
  17. const char* nombre = nombreArchivo.c_str();
  18.  
  19. ifstream File1(nombre, ios::in); //Abrimos el fichero en modo de lectura
  20.  
  21. // Si hay error al abrir el archivo volvemos al principio
  22. if (File1.fail()) {
  23. cout << "Ha habido un error debido a que no se puede abrir el archivo. Por favor intentelo de nuevo.";
  24. cout << "Pulse intro para reiniciar";
  25. cin.get(); // NO SE PONE () TRAS EL GET????
  26. system("cls");
  27. main();
  28. }
  29. else {
  30. // Creamos un fichero nuevo donde guardar las estadísticas
  31. ofstream estadisticas("Estadistica.txt", ios::out);
  32. int caracteresTotales = 0, numMayusc = 0, numConsonantes, numVocales;
  33. int letras[27]; //Array donde guardaremos las ocurrencias de cada letra
  34. for (int i = 0; i < 27; i++)  {
  35. letras[i] = 0;
  36. }
  37.  
  38. cout << letras[3];
  39. system("pause > nul");
  40. }
  41.  
  42.  
  43.  
  44. }

Estoy en Windows 7, usando una cuenta limitada (por tanto para meter el archivo en c:\ me ha pedido la pass de administrador y por eso creo que puede ser el que no consiga abrirme el archivo.

No me da error sino que me salta directo a que no lo consigue abrir (cuando resulta que el archivo está ahí)

Saludos ;)

EDITO: Ahora viendo el código GeSHi me he dado cuenta de que resalta el \t... Puede ser que lo tome como un 'comando de String' como lo es \n para salto de línea y por eso no lo encuentre?

;)
50  Programación / Desarrollo Web / Página de Loggin para varios usuarios en: 8 Mayo 2014, 13:33 pm
Buenas. Se me ha ocurrido crearme mi propia página de inicio. Os comento mi idea. Supongamos que tengo el mismo nombre de usuario para (por ejemplo) Yahoo, ask.fm y seriesYonkis. Pues hago una página html simple con un botón. Dentro del php guardados mi nombre de usuario y mi pass y cuando le de al botón me abra tres pestañas diferentes con los tres sites ya loggeados. Sabéis si es factible ésto?

Saludos ;)
Páginas: 1 2 3 4 [5] 6 7 8 9 10 11 12 13 14
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines