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

 

 


Tema destacado: ¿Eres nuevo? ¿Tienes dudas acerca del funcionamiento de la comunidad? Lee las Reglas Generales


  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 ... 53
101  Seguridad Informática / Hacking / Si saben mi ip me pueden hackear? en: 23 Abril 2017, 19:27 pm
Sé que esta pregunta es muy repetida y tal.. bueno hace poco hablando compañero me dijo que simplemente sacando mi ip las posibilidades que accediera a mi ordenador eran muy altas pero no sé que tan cierto sea. Entonces mi pregunta es existe alguna posibilidad de que alguien unicamente sabiendo mi ip pueda acceder o tener acceso a mi computador? Esa es la pregunta lo unico que se me ocurre que podria hacer es usar nmap escaneo de puertos y ver cuales estan abiertos, en caso de tener algun abierto ver cual tengo a la escucha y si se dieran estos dos casos, encontrar una supuesta vulnerabilidad para mi software actualizado por lo que me parece poco probable que sucediese.
102  Seguridad Informática / Análisis y Diseño de Malware / Me pueden infectar mi ordenador usando un pdf? en: 12 Abril 2017, 01:50 am
Podría usar alguien un pdf para acceder a mi ordenador teniendo el adobe actualizado y usando chrome para abrir el pdf?
103  Programación / .NET (C#, VB.NET, ASP) / Como extraer los items de un combobox en c# en: 5 Abril 2017, 20:47 pm
Hola lo que hago es obtener el ultimo elemento del combobox:
Código:
int ultimo = playerList.Items.Count - 1;
playerList.SelectedIndex = ultimo;
var valor = playerList.SelectedValue;

Pero ahora lo que quiero es extrar los elementos en ese valor ejemplo:
Código:
"Hola,padre,nuestro"
Código:
--> por medio de valor.
string a = "hola"
string b = "padre"
string c = "nuestro"
104  Programación / Scripting / Re: Ayuda con este crypter en autoit en: 2 Abril 2017, 01:49 am
A mi autoit se me atragante  :-\
105  Programación / .NET (C#, VB.NET, ASP) / Como obtengo el nombre de un recurso embedido o la ruta? en: 1 Abril 2017, 01:38 am
Mi pregunta como puedo obtener la ruta o nombre de un recursos embedido ej:
Código:
Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(CurrentDomain_AssemblyResolve);
            //Application.Run(new Form1());      

        static Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventArgs args)
        {
            using (var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("EmbedAssembly.helloworld.exe"))
            {
                byte[] assemblyData = new byte[stream.Length];
                stream.Read(assemblyData, 0, assemblyData.Length);
                return Assembly.Load(assemblyData);
            }
        }

Ya que lo llamare por medio de la funcion
 RunInterna("la ruta del recurso embedido", "pass");
106  Programación / .NET (C#, VB.NET, ASP) / Re: Renombrar una clave de registro usando c# en: 31 Marzo 2017, 23:39 pm
Vale hice como dijistes y se creo correctamente.
107  Programación / Scripting / Ayuda con este crypter en autoit en: 31 Marzo 2017, 20:24 pm
Hola estoy intentando probar un crypter para autoit lo que hago es poner mi programa helloworld pero nunca me abre el programa que estoy haciendo mal.

Código:
http://pastebin.com/Rchvr96P
http://pastebin.com/4K5B6d6r
108  Programación / Desarrollo Web / Re: ¿Como practicar HTML? en: 30 Marzo 2017, 12:17 pm
y no sería mejor aprender programación orienta al desarrollo web? pregunto? Si es por diseño no solo necesitaras html como dicen los compañeros css, photoshop, herramientas de diseño grafico entre otras muchas herramientas que encontraras por la red y por supuesto bootstrap importante!
109  Programación / .NET (C#, VB.NET, ASP) / Ayuda con este pequeño crypter en c# en: 30 Marzo 2017, 01:31 am
Hola estoy modificando un facilito crypter en c# obviamente todos sabemos que c# para crypters no es lo suyo pero haciendolo el codigo es:
Código
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. using System.IO;
  8.  
  9. namespace Crypter
  10. {
  11.    class Program
  12.    {
  13. [STAThread]
  14.        static void Main(string[] args)
  15.        {
  16.            //No Arguments -> Exit
  17.            if (args.Length < 2)
  18.            {
  19.                Console.WriteLine("Syntax: crypter.exe <Exe/Dll to get Encrypted> <Password> (Optional: output file name)");
  20.                Environment.Exit(0);
  21.            }
  22.  
  23.            String file = args[0];
  24.            String pass = args[1];
  25.            String outFile = "Crypted.exe";
  26.  
  27.            //If Output Name is specified -> Set it
  28.            if (args.Length == 3)
  29.            {
  30.                outFile = args[2];
  31.            }
  32.  
  33.            //File doesn't exist -> Exit
  34.            if (!File.Exists(file))
  35.            {
  36.                Console.WriteLine("[!] The selected File doesn't exist!");
  37.                Environment.Exit(0);
  38.            }
  39.  
  40.            //Everything seems fine -> Reading bytes
  41.            Console.WriteLine("[*] Reading Data...");
  42.            byte[] plainBytes = File.ReadAllBytes(file);
  43.  
  44.            //Yep, got bytes -> Encoding
  45.            Console.WriteLine("[*] Encoding Data...");
  46.            byte[] encodedBytes = encodeBytes(plainBytes, pass);
  47.  
  48.            Console.Write("[*] Save to Output File... ");
  49.            File.WriteAllBytes(outFile, encodedBytes);
  50.            Console.WriteLine("Done!");
  51.  
  52.            Console.WriteLine("\n[*] File successfully encoded!");
  53.        }
  54. private static byte[] encodeBytes(byte[] bytes, String pass)
  55. {
  56. byte[] XorBytes = Encoding.Unicode.GetBytes(pass);
  57.  
  58. for (int i = 0; i < bytes.Length; i++)
  59. {
  60. bytes[i] ^= XorBytes[i % XorBytes.Length];
  61. }
  62.  
  63. return bytes;
  64. }
  65. }
  66. }

El stub:
Código
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using System.Windows.Forms;
  6.  
  7. using System.IO;
  8. using System.Text;
  9. using System.Reflection;
  10. using System.Diagnostics;
  11.  
  12. namespace Stub
  13. {
  14.    static class Program
  15.    {
  16.        /// <summary>
  17.        /// MAIN
  18.        /// </summary>
  19.        [STAThread]
  20.        static void Main()
  21.        {
  22.            Application.EnableVisualStyles();
  23.            Application.SetCompatibleTextRenderingDefault(false);
  24.            //Application.Run(new Form1());
  25.  
  26.            //Set Payload File and Password HERE
  27.            RunInternalExe("C:/Users/Androide/Desktop/test/o.txt", "1234");
  28.        }
  29.  
  30.        private static void RunInternalExe(string exeName, String pass)
  31.        {
  32.            //Verify the Payload exists
  33.            if (!File.Exists(exeName))
  34.                return;
  35.  
  36.            //Read the raw bytes of the file
  37.            byte[] resourcesBuffer = File.ReadAllBytes(exeName);
  38.  
  39.            //Decrypt bytes from payload
  40.            byte[] decryptedBuffer = null;
  41.            decryptedBuffer = decryptBytes(resourcesBuffer, pass);
  42.  
  43.            //If .NET executable -> Run
  44.            if(Encoding.Unicode.GetString(decryptedBuffer).Contains("</assembly>"))
  45.            {
  46.                //Load the bytes as an assembly
  47.                Assembly exeAssembly = Assembly.Load(decryptedBuffer);
  48.  
  49.                //Execute the assembly
  50.                object[] parameters = new object[1];                //Don't know why but fixes TargetParameterCountException
  51.                exeAssembly.EntryPoint.Invoke(null, parameters);
  52.            }
  53.        }
  54.  
  55.        /// <summary>
  56.        /// Decrypt the Loaded Assembly Bytes
  57.        /// </summary>
  58.        /// <param name="payload"></param>
  59.        /// <returns>Decrypted Bytes</returns>
  60.        private static byte[] decryptBytes(byte[] bytes, String pass)
  61.        {
  62.            byte[] XorBytes = Encoding.Unicode.GetBytes(pass);
  63.  
  64.            for (int i = 0; i < bytes.Length; i++)
  65.            {
  66.                bytes[i] ^= XorBytes[i % XorBytes.Length];
  67.            }
  68.  
  69.            return bytes;
  70.        }
  71.    }
  72. }
  73.  
Pero cuando pongo abro el stub se me cierra y no me abre mi fichero y lo encripte correctamente y todo que estoy haciendo mal?
110  Programación / ASM / Re: Curso ensamblador en: 29 Marzo 2017, 03:05 am
Una vez que obtienes el código compilado puedes crear el ejectable usando gcc no sé yo tuve problemillas para compilar directamente nasm en windows pero de esta manera funciono.
Ej. muy muy basico para win.
Código:
global _main
extern _printf

section .data
msg db "Hello World", 0

section .bss
section .text
_main:
 push ebp
 mov ebp,esp

  push msg
  call _printf
  add esp,4
  
 mov esp,ebp
 pop ebp

ret

en windows hice:
Código:
nasm -f elf a.asm
gcc a.o
//o tambien
nasm -f win32 a.asm -o a.o
gcc a.o

Mala practica puede que sea compilarlo así no estoy seguro.
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 ... 53
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines