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

 

 


Tema destacado: Recopilación Tutoriales y Manuales Hacking, Seguridad, Privacidad, Hardware, etc


  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 ... 27
61  Seguridad Informática / Seguridad / Identificar un servidor? en: 27 Septiembre 2021, 00:06 am
Hola a todos.
Tengo dos dudas de novato  ::)

1) Hay forma de identificar un servidor en una red usando nmap?

2) Vamos a suponer que tengo la ip 63.45.12.34 hay forma de saber que tipo de dispositivo es?
   



-Gracias a todos!!!
62  Comunicaciones / Dispositivos Móviles (PDA's, Smartphones, Tablets) / Ayuda Xiaomi mi 8 lite en: 25 Septiembre 2021, 04:30 am
Hola a todos, hace poco compré por internet unos auriculares gaming tipo
c (los g20 de la marca plextone) pero mi xiaomi 8 lite no los reconoce... No tengo otro móvil como para poder probarlos, alguien sabe que puede ser?


[ACTUALIZACIÓN]
Mi celular no reconoce, ningún tipo de auricular tipo c, será alguna falla de software?
63  Media / Juegos y Consolas / BIOMUTANT en: 18 Septiembre 2021, 04:18 am
Geeeente, tengo una duda... ¿BIOMUTANT Es TAN MALO como dicen,y por que?
64  Seguridad Informática / Hacking / Re: Como puedo instalar un servicio vulnerable [metasploitable3] en: 15 Septiembre 2021, 16:34 pm
Metasploitable 3 si mal no tengo entendido es un Windows 7 / 2008 el cuál debería tener la vulnerabilidad de eternalblue si recuerdo haber leído alguna vez por internet...



Por otra parte te dejo Metasploitable 2 el cuál tiene es un Ubuntu viejo con al menos 3 puertos al que se le pueden explotar y hacer un RCE (vsftpd, smb y unreal irc).


B#


Muchísimas Gracias!!!!
65  Seguridad Informática / Hacking Wireless / Ataques a red Wifi sin ser brute force [Solo curiosidad] en: 15 Septiembre 2021, 16:15 pm
Hola como están? Tenia una duda, hay forma de atacar una red para conseguir la contraseña, pero sin ser un brute force attack?


Gracias



-P
66  Seguridad Informática / Hacking / Como puedo instalar un servicio vulnerable [metasploitable3] en: 14 Septiembre 2021, 23:09 pm
Hola a todos, estoy practicando el ataque de puertos, y quería saber si existe algún puerto con vulnerabilidades para explotarlas (El cual este creado para eso, para explotarlo y practicar)




Gracias
67  Programación / Scripting / Re: Opiniones sobre un programa que hice en: 5 Septiembre 2021, 14:45 pm
Por lo otro muy bien, enhorabuena


Muchísimas gracias por probarlo y responder!!!!
68  Programación / Scripting / Re: Opiniones sobre un programa que hice en: 5 Septiembre 2021, 14:44 pm
En la primera ejecución me dio un error.
Código
  1. Traceback (most recent call last):
  2.  File "/usr/lib/python3.9/tkinter/__init__.py", line 1892, in __call__
  3.    return self.func(*args)
  4.  File "/home/nitropc/./png.py", line 26, in converter
  5.    im = Image.open(image_path)
  6.  File "/usr/local/lib/python3.9/dist-packages/PIL/Image.py", line 2974, in open
  7.    fp = io.BytesIO(fp.read())
  8. AttributeError: 'str' object has no attribute 'read'
  9. ^CTraceback (most recent call last):
  10.  File "/home/nitropc/./png.py", line 155, in <module>
  11.    root.mainloop()
  12.  File "/usr/lib/python3.9/tkinter/__init__.py", line 1429, in mainloop
  13.    self.tk.mainloop(n)
  14.  
El error se debe a que en el metodo
Código:
Image.open()
, el argumento sebe ser un string y la variable image_path parece no ser string, así que aconsejo que siempre se convierta en string, auque cuya variable sea string (por si acaso), hazlo con str(image_path), seria
Código:
Image.open(str(image_path))

Y aconsejo también que muestra la ruta del archivo png convertido que no especifica en que ruta se almacena.

Hola cómo estás? Probando y probando el programa no me sale ese error, es raro. Lo probé desde Windows y si paso jajaja.

69  Programación / Scripting / Opiniones sobre un programa que hice en: 5 Septiembre 2021, 05:43 am
Hola a todos como están? Hace poco hice un programa en Python usando Tkinter, este es un programa que sirve para hacer un png to jpg (Un convertidor de formatos).


Es algo muy simple, y me gustaría que le den una critica al código.


Código:
import tkinter
from tkinter import Button, Canvas, Frame, Label, LabelFrame, PhotoImage, StringVar, Text, Tk
from tkinter.constants import ACTIVE, CENTER, DISABLED, FLAT, NONE, NW, RADIOBUTTON
import tkinter.font as font
from tkinter import filedialog as fd
from tkinter import messagebox

import shutil
import os

from PIL import Image,ImageTk



def exit() -> None:
    global root
    root.destroy()

def converter() -> None:
    global image_path
    global image_name

    try:
        try:
            im = Image.open(image_path)

        except NameError:
            messagebox.showerror(title="Error!", message="You must select a file!")

        #I convert the image to jpg
        im.save(f'output_file_jpg/{image_name}', quality=95)
        img_name_var.set(image_name)


    except OSError:
        #If the image has transparency I remove it
        rgb_im = Image.open(image_path)
        rgb_im = im.convert('RGB')
        rgb_im.save(f'output_file_jpg/{image_name}')
        img_name_var.set(image_name)
   
    image_path = ""
    image_name = ""
    messagebox.showinfo(title="Success!",message="successfully converted!")


def get_image() -> None:
    global image_path
    global image_name


    try:
        #I look for the route and the name of the image
        image_path = fd.askopenfilenames(filetypes=[("Image Files", ".png")])
        image_path = image_path[0]
       
        image_name = image_path.split("/")
        image_name = image_name[-1]
        img_name_var.set(image_name)
        image_name = image_name.replace('.png',".jpg")

        #Display Image
        img = Image.open(image_path)
        img = img.resize((180, 160), Image.ANTIALIAS)
        img = ImageTk.PhotoImage(img)
        panel = Label(master=root, image=img)
        panel.image = img
        panel.grid(row=1,column=0,pady=1,sticky="N")
        bttn_convert['state'] = ACTIVE

    except IndexError:
        pass

def main_window() -> None:
    try:
        os.mkdir('output_file_jpg')
    except FileExistsError:
        pass
   
    global root
    global image_path
    global img_name_var
    global bttn_convert

    #Main Window config
    root.config(background="white")
    root.resizable(False,False)
    root.title("V1.0")

    screen_width  = root.winfo_screenwidth()
    screen_height = root.winfo_screenheight()
    screen_width  = screen_width / 5
    root.geometry(f"600x450+{round(screen_width)}+90")

    #Cool Colors
    navy_blue     = "#2A73D9"
    emerald_green = "#33b864"
    soft_red      = "#b83333"

    #Cool Fonts
    bttn_font        = font.Font(family="Helvetica,Arial,sans-serif", size=12)
    title_font       = font.Font(family="Poppins",size=15)
    subtitle_font    = font.Font(family="Poppins",size=12)
   
   


    #Texts
    title            = Label(master=root)
    title.config(text="CONVERTER",bg="white",font=subtitle_font)
    title.grid(row=0,column=0,pady=30)

    subtitle         = Label(master=root)
    subtitle.config(text="PNG TO JPG",bg="white",font=title_font)
    subtitle.grid(row=0,column=0,sticky="N")


    softwere_version =  Label(master=root)
    softwere_version.config(text="V1.0",background="white")
    softwere_version.grid(row=1,column=0,padx=20,pady=120,sticky="SW")

    img_name_var     = StringVar(master=root,value='')

    img_name         = Label(master=root)
    img_name.configure(textvariable=img_name_var,bg="white")
    img_name.grid(row=1,column=0,pady=180,sticky="N")


    #Buttons
    frame_buttons = Frame(master=root)
    frame_buttons.config(bg="white")
    frame_buttons.grid(row=1,column=0,pady=220,padx=110)

    bttn_upload = Button(master=frame_buttons)   
    bttn_upload.configure(text="UPLOAD A IMAGE",font=bttn_font,activeforeground="white",fg="white",activebackground=navy_blue,bg=navy_blue,borderwidth=0,cursor="hand2",command=get_image)
    bttn_upload.grid(row=1,column=1,padx=20)

    bttn_convert = Button(master=frame_buttons)
    bttn_convert['state'] = DISABLED
    bttn_convert.configure(text="CONVERT",font=bttn_font,activeforeground="white",fg="white",activebackground=emerald_green,bg=emerald_green,borderwidth=0,cursor="hand2",command=converter)
    bttn_convert.grid(row=1,column=2)

   

    bttn_exit = Button(master=frame_buttons)
    bttn_exit.configure(text="EXIT",font=bttn_font,activeforeground="white",fg="white",activebackground=soft_red,bg=soft_red,borderwidth=0,cursor="hand2",command=exit)
    bttn_exit.grid(row=1,column=3,padx=15)


if __name__ == "__main__":
    root = Tk()

    main_window()
    root.mainloop()



Gracias!!!!  ::) ::) :D

-Panic0
70  Informática / Hardware / Que le pasa a mi Xiaomi? en: 3 Septiembre 2021, 00:23 am
Hola a todos como están? Tengo un Xiaomi mi 8 lite desde hace ya uno o dos años.

Ya es la segunda vez que ésto me sucede, el problema consiste en que queda el LED de notificaciónes parpadeando y después aparece el logo de cargando pero no carga. Esto ya me había pasado antes y se había solucionado solo.

Adjunto imágen (gif)

https://ibb.co/bd2MmgP

Alguna idea de lo que puede ser?

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