Vessel - HTB [Discussion]
by - Thursday, January 1, 1970 at 12:00 AM
(August 31, 2022, 03:49 PM)fironeDerbert Wrote: Commands to get root:



Enjoy :)


Thanks
Reply
thank you!!
Reply
Nice, thanks
Reply
(August 31, 2022, 03:49 PM)fironeDerbert Wrote: Commands to get root:



Enjoy :)


dfv
Reply
(August 31, 2022, 03:49 PM)fironeDerbert Wrote: Commands to get root:



Enjoy :)


tx
Reply
Thank you man
Reply
(August 31, 2022, 03:49 PM)fironeDerbert Wrote: Commands to get root:



Enjoy :)


checking thanks
Reply
I'm having trouble with my script. I get 998 possible passwords but none of them are right

#! /usr/bin/python3

from PySide2.QtCore import *
from PySide2.QtGui import *
from PySide2.QtWidgets import *
from PySide2 import QtWidgets

from PySide2.QtCore import *

def genPassword():
    length = 36
    char = 0
    if char == 0:
        charset = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890~!@#$%^&*()_-+={}[]|:;,.?'
    else:
        if char == 1:
            charset = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'
        else:
            if char == 2:
                charset = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890'
            else:
                pass
    try:
        qsrand(QTime.currentTime().msec())
        password = ''
        for i in range(length):
            idx = qrand() % len(charset)
            nchar = charset[idx]
            password += str(nchar)
    except:
        print('error')
    return password

def gen_possible_passes():
    passes = []
    try:
        while True:
            ps = genPassword()
            if ps not in passes:
                passes.append(ps)
                # print(ps)
                print(len(passes))
    except KeyboardInterrupt:
        with open('pass.txt', 'w') as ofile:
            for p in passes:
                ofile.write(p + '
')

password_list = []
for i in range(10000):
    password = genPassword()
    if password not in password_list:
        password_list.append(password)
        print(len(password_list))
with open("passwords.txt", "w") as w:
    w.write("
".join(password_list))
print("done")
Reply
Thanks, appreciate it!
Reply
(August 31, 2022, 03:49 PM)fironeDerbert Wrote: Commands to get root:



Enjoy :)
Reply


 Users viewing this thread: Vessel - HTB [Discussion]: No users currently viewing.