Instagram- icon indicating copy to clipboard operation
Instagram- copied to clipboard

Password

Open Stongboynot opened this issue 3 years ago • 10 comments

Date: 12/28/2018

Author: Mohamed

Description: Password manager

from time import sleep from hashlib import sha256 from sys import version_info from lib.display import Display from lib.database import Session import io

class PasswordManager(object): def init(self, username, passlist_path, max_passwords, display): self.passlist = [] self.session = None self.resume = False self.is_alive = True self.is_read = False self.display = display self.fingerprint = None self.username = username self.passwords_removed = 0 self.passlist_path = passlist_path self.max_passwords = max_passwords Display.total_lines = self.count_lines()

@property
def list_size(self):
    return len(self.passlist)

def list_add(self, password):
    if not password in self.passlist:
        self.passlist.append(password)

def list_remove(self, password):
    if password in self.passlist:
        self.attempts += 1
        self.passlist.pop(self.passlist.index(password))
        self.session.write(self.attempts, self.passlist)

def count_lines(self):
    lines = 0

    fingerprint = (
        sha256(self.username.lower().strip().encode()).hexdigest().encode()
    )

    self.display.info("Reading wordlist ...")

    with io.open(self.passlist_path, mode="rb") as f:

        for data in f:
            lines += 1
            chunk = sha256(data).hexdigest().encode()
            fingerprint = sha256(fingerprint + chunk).hexdigest().encode()

    self.fingerprint = fingerprint
    self.session = Session(self.fingerprint)

    return lines

def read(self):
    attempts = 0
    with io.open(
        self.passlist_path, mode="rt", encoding="utf-8"
    ) as passlist:

        for password in passlist:
            if not self.is_alive:
                break

            if self.resume:
                self.attempts, self.passlist = self.session.read()

                if attempts < (self.attempts + self.list_size):
                    attempts += 1
                    continue
                else:
                    self.resume = False

            password = (
                password.replace("\n", "")
                .replace("\r", "")
                .replace("\t", "")
            )

            if self.list_size < self.max_passwords:
                self.list_add(password)
            else:
                while (
                    self.list_size >= self.max_passwords and self.is_alive
                ):
                    sleep(0.5)

                if self.is_alive:
                    self.list_add(password)
                    self.session.write(self.attempts, self.passlist)

    if self.is_alive:
        self.is_read = True

@property
def attempts(self):
    return self.passwords_removed

@attempts.setter
def attempts(self, n):
    self.passwords_removed = n

def start(self):
    self.read()

def stop(self):
    self.is_alive = False

With maruf

Stongboynot avatar Feb 05 '23 07:02 Stongboynot

What's that code? I don't know what i should do?

Sent from Yahoo Mail on Android

On Sun, Feb 5, 2023 at 11:02, @.***> wrote:
Date: 12/28/2018

Author: Mohamed

Description: Password manager

from time import sleep from hashlib import sha256 from sys import version_info from lib.display import Display from lib.database import Session import io

class PasswordManager(object): def init(self, username, passlist_path, max_passwords, display): self.passlist = [] self.session = None self.resume = False self.is_alive = True self.is_read = False self.display = display self.fingerprint = None self.username = username self.passwords_removed = 0 self.passlist_path = passlist_path self.max_passwords = max_passwords Display.total_lines = self.count_lines() @property def list_size(self): return len(self.passlist)

def list_add(self, password): if not password in self.passlist: self.passlist.append(password)

def list_remove(self, password): if password in self.passlist: self.attempts += 1 self.passlist.pop(self.passlist.index(password)) self.session.write(self.attempts, self.passlist)

def count_lines(self): lines = 0

fingerprint = (
    sha256(self.username.lower().strip().encode()).hexdigest().encode()
)

self.display.info("Reading wordlist ...")

with io.open(self.passlist_path, mode="rb") as f:

    for data in f:
        lines += 1
        chunk = sha256(data).hexdigest().encode()
        fingerprint = sha256(fingerprint + chunk).hexdigest().encode()

self.fingerprint = fingerprint
self.session = Session(self.fingerprint)

return lines

def read(self): attempts = 0 with io.open( self.passlist_path, mode="rt", encoding="utf-8" ) as passlist:

    for password in passlist:
        if not self.is_alive:
            break

        if self.resume:
            self.attempts, self.passlist = self.session.read()

            if attempts < (self.attempts + self.list_size):
                attempts += 1
                continue
            else:
                self.resume = False

        password = (
            password.replace("\n", "")
            .replace("\r", "")
            .replace("\t", "")
        )

        if self.list_size < self.max_passwords:
            self.list_add(password)
        else:
            while (
                self.list_size >= self.max_passwords and self.is_alive
            ):
                sleep(0.5)

            if self.is_alive:
                self.list_add(password)
                self.session.write(self.attempts, self.passlist)

if self.is_alive:
    self.is_read = True

@property def attempts(self): return self.passwords_removed

@attempts.setter def attempts(self, n): self.passwords_removed = n

def start(self): self.read()

def stop(self): self.is_alive = False

With maruf

You can view, comment on, or merge this pull request online at:

  https://github.com/Bitwise-01/Instagram-/pull/216

Commit Summary

  • 113a968 Password

File Changes

(1 file)

  • M lib/password_manager.py (1)

Patch Links:

  • https://github.com/Bitwise-01/Instagram-/pull/216.patch
  • https://github.com/Bitwise-01/Instagram-/pull/216.diff

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Hosseinf2012 avatar Feb 05 '23 07:02 Hosseinf2012

thank you for your help, where can I reach you except by mail ?

5 Şub 2023 Pzr 10:40 tarihinde Hosseinf2012 @.***> şunu yazdı:

What's that code? I don't know what i should do?

Sent from Yahoo Mail on Android

On Sun, Feb 5, 2023 at 11:02, @.***> wrote: Date: 12/28/2018

Author: Mohamed

Description: Password manager

from time import sleep from hashlib import sha256 from sys import version_info from lib.display import Display from lib.database import Session import io

class PasswordManager(object): def init(self, username, passlist_path, max_passwords, display): self.passlist = [] self.session = None self.resume = False self.is_alive = True self.is_read = False self.display = display self.fingerprint = None self.username = username self.passwords_removed = 0 self.passlist_path = passlist_path self.max_passwords = max_passwords Display.total_lines = self.count_lines() @property def list_size(self): return len(self.passlist)

def list_add(self, password): if not password in self.passlist: self.passlist.append(password)

def list_remove(self, password): if password in self.passlist: self.attempts += 1 self.passlist.pop(self.passlist.index(password)) self.session.write(self.attempts, self.passlist)

def count_lines(self): lines = 0

fingerprint = ( sha256(self.username.lower().strip().encode()).hexdigest().encode() )

self.display.info("Reading wordlist ...")

with io.open(self.passlist_path, mode="rb") as f:

for data in f: lines += 1 chunk = sha256(data).hexdigest().encode() fingerprint = sha256(fingerprint + chunk).hexdigest().encode()

self.fingerprint = fingerprint self.session = Session(self.fingerprint)

return lines

def read(self): attempts = 0 with io.open( self.passlist_path, mode="rt", encoding="utf-8" ) as passlist:

for password in passlist: if not self.is_alive: break

if self.resume: self.attempts, self.passlist = self.session.read()

if attempts < (self.attempts + self.list_size): attempts += 1 continue else: self.resume = False

password = ( password.replace("\n", "") .replace("\r", "") .replace("\t", "") )

if self.list_size < self.max_passwords: self.list_add(password) else: while ( self.list_size >= self.max_passwords and self.is_alive ): sleep(0.5)

if self.is_alive: self.list_add(password) self.session.write(self.attempts, self.passlist)

if self.is_alive: self.is_read = True

@property def attempts(self): return self.passwords_removed

@attempts.setter def attempts(self, n): self.passwords_removed = n

def start(self): self.read()

def stop(self): self.is_alive = False

With maruf

You can view, comment on, or merge this pull request online at:

https://github.com/Bitwise-01/Instagram-/pull/216

Commit Summary

  • 113a968 Password

File Changes

(1 file)

  • M lib/password_manager.py (1)

Patch Links:

  • https://github.com/Bitwise-01/Instagram-/pull/216.patch
  • https://github.com/Bitwise-01/Instagram-/pull/216.diff

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/Bitwise-01/Instagram-/pull/216#issuecomment-1417029125, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWMEL2C6FNDNT3ZWO26AZCLWV5KPBANCNFSM6AAAAAAURT46XI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

eneshanxs avatar Feb 13 '23 12:02 eneshanxs

Hello.Thank you for your reply. But  how can I use this code?Can you hack this ID your @.***_shojaei86Instagram

Sent from Yahoo Mail on Android

On Mon, Feb 13, 2023 at 16:17, @.***> wrote:

thank you for your help, where can I reach you except by mail ?

5 Şub 2023 Pzr 10:40 tarihinde Hosseinf2012 @.***> şunu yazdı:

What's that code? I don't know what i should do?

Sent from Yahoo Mail on Android

On Sun, Feb 5, 2023 at 11:02, @.***> wrote: Date: 12/28/2018

Author: Mohamed

Description: Password manager

from time import sleep from hashlib import sha256 from sys import version_info from lib.display import Display from lib.database import Session import io

class PasswordManager(object): def init(self, username, passlist_path, max_passwords, display): self.passlist = [] self.session = None self.resume = False self.is_alive = True self.is_read = False self.display = display self.fingerprint = None self.username = username self.passwords_removed = 0 self.passlist_path = passlist_path self.max_passwords = max_passwords Display.total_lines = self.count_lines() @property def list_size(self): return len(self.passlist)

def list_add(self, password): if not password in self.passlist: self.passlist.append(password)

def list_remove(self, password): if password in self.passlist: self.attempts += 1 self.passlist.pop(self.passlist.index(password)) self.session.write(self.attempts, self.passlist)

def count_lines(self): lines = 0

fingerprint = ( sha256(self.username.lower().strip().encode()).hexdigest().encode() )

self.display.info("Reading wordlist ...")

with io.open(self.passlist_path, mode="rb") as f:

for data in f: lines += 1 chunk = sha256(data).hexdigest().encode() fingerprint = sha256(fingerprint + chunk).hexdigest().encode()

self.fingerprint = fingerprint self.session = Session(self.fingerprint)

return lines

def read(self): attempts = 0 with io.open( self.passlist_path, mode="rt", encoding="utf-8" ) as passlist:

for password in passlist: if not self.is_alive: break

if self.resume: self.attempts, self.passlist = self.session.read()

if attempts < (self.attempts + self.list_size): attempts += 1 continue else: self.resume = False

password = ( password.replace("\n", "") .replace("\r", "") .replace("\t", "") )

if self.list_size < self.max_passwords: self.list_add(password) else: while ( self.list_size >= self.max_passwords and self.is_alive ): sleep(0.5)

if self.is_alive: self.list_add(password) self.session.write(self.attempts, self.passlist)

if self.is_alive: self.is_read = True

@property def attempts(self): return self.passwords_removed

@attempts.setter def attempts(self, n): self.passwords_removed = n

def start(self): self.read()

def stop(self): self.is_alive = False

With maruf

You can view, comment on, or merge this pull request online at:

https://github.com/Bitwise-01/Instagram-/pull/216

Commit Summary

  • 113a968 Password

File Changes

(1 file)

  • M lib/password_manager.py (1)

Patch Links:

  • https://github.com/Bitwise-01/Instagram-/pull/216.patch
  • https://github.com/Bitwise-01/Instagram-/pull/216.diff

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/Bitwise-01/Instagram-/pull/216#issuecomment-1417029125, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWMEL2C6FNDNT3ZWO26AZCLWV5KPBANCNFSM6AAAAAAURT46XI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Hosseinf2012 avatar Feb 13 '23 13:02 Hosseinf2012

Hello, where can I run this code, how does it work?

13 Şub 2023 Pzt 16:33 tarihinde Hosseinf2012 @.***> şunu yazdı:

Hello.Thank you for your reply. But how can I use this code?Can you hack this ID your @.***_shojaei86Instagram

Sent from Yahoo Mail on Android

On Mon, Feb 13, 2023 at 16:17, @.***> wrote:

thank you for your help, where can I reach you except by mail ?

5 Şub 2023 Pzr 10:40 tarihinde Hosseinf2012 @.***> şunu yazdı:

What's that code? I don't know what i should do?

Sent from Yahoo Mail on Android

On Sun, Feb 5, 2023 at 11:02, @.***> wrote: Date: 12/28/2018

Author: Mohamed

Description: Password manager

from time import sleep from hashlib import sha256 from sys import version_info from lib.display import Display from lib.database import Session import io

class PasswordManager(object): def init(self, username, passlist_path, max_passwords, display): self.passlist = [] self.session = None self.resume = False self.is_alive = True self.is_read = False self.display = display self.fingerprint = None self.username = username self.passwords_removed = 0 self.passlist_path = passlist_path self.max_passwords = max_passwords Display.total_lines = self.count_lines() @property def list_size(self): return len(self.passlist)

def list_add(self, password): if not password in self.passlist: self.passlist.append(password)

def list_remove(self, password): if password in self.passlist: self.attempts += 1 self.passlist.pop(self.passlist.index(password)) self.session.write(self.attempts, self.passlist)

def count_lines(self): lines = 0

fingerprint = ( sha256(self.username.lower().strip().encode()).hexdigest().encode() )

self.display.info("Reading wordlist ...")

with io.open(self.passlist_path, mode="rb") as f:

for data in f: lines += 1 chunk = sha256(data).hexdigest().encode() fingerprint = sha256(fingerprint + chunk).hexdigest().encode()

self.fingerprint = fingerprint self.session = Session(self.fingerprint)

return lines

def read(self): attempts = 0 with io.open( self.passlist_path, mode="rt", encoding="utf-8" ) as passlist:

for password in passlist: if not self.is_alive: break

if self.resume: self.attempts, self.passlist = self.session.read()

if attempts < (self.attempts + self.list_size): attempts += 1 continue else: self.resume = False

password = ( password.replace("\n", "") .replace("\r", "") .replace("\t", "") )

if self.list_size < self.max_passwords: self.list_add(password) else: while ( self.list_size >= self.max_passwords and self.is_alive ): sleep(0.5)

if self.is_alive: self.list_add(password) self.session.write(self.attempts, self.passlist)

if self.is_alive: self.is_read = True

@property def attempts(self): return self.passwords_removed

@attempts.setter def attempts(self, n): self.passwords_removed = n

def start(self): self.read()

def stop(self): self.is_alive = False

With maruf

You can view, comment on, or merge this pull request online at:

https://github.com/Bitwise-01/Instagram-/pull/216

Commit Summary

  • 113a968 Password

File Changes

(1 file)

  • M lib/password_manager.py (1)

Patch Links:

  • https://github.com/Bitwise-01/Instagram-/pull/216.patch
  • https://github.com/Bitwise-01/Instagram-/pull/216.diff

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/Bitwise-01/Instagram-/pull/216#issuecomment-1417029125 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AWMEL2C6FNDNT3ZWO26AZCLWV5KPBANCNFSM6AAAAAAURT46XI

. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/Bitwise-01/Instagram-/pull/216#issuecomment-1427952120, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWMEL2E3EVV3ML36CAXI4Y3WXIZ4FANCNFSM6AAAAAAURT46XI . You are receiving this because you commented.Message ID: @.***>

eneshanxs avatar Feb 13 '23 13:02 eneshanxs

 Hello , how will I do this part ?from time import sleepfrom hashlib import sha256from sys import version_infofrom lib.display import Displayfrom lib.database import Sessionimport ioWindows için Posta ile gönderildi Kimden: Hosseinf2012Gönderilme: 13 Şubat 2023 Pazartesi 16:33Kime: Bitwise-01/Instagram-Bilgi: Han; CommentKonu: Re: [Bitwise-01/Instagram-] Password (PR #216) Hello.Thank you for your reply. But  how can I use this code?Can you hack this ID your ***@***.***_shojaei86InstagramSent from Yahoo Mail on Android On Mon, Feb 13, 2023 at 16:17, ***@***.***> wrote: thank you for your help, where can I reach you except by mail ?5 Şub 2023 Pzr 10:40 tarihinde Hosseinf2012 ***@***.***> şunuyazdı:> What's that code? I don't know what i should do?>> Sent from Yahoo Mail on Android>> On Sun, Feb 5, 2023 at 11:02, ***@***.***> wrote:> Date: 12/28/2018>> Author: Mohamed>> Description: Password manager>> from time import sleep> from hashlib import sha256> from sys import version_info> from lib.display import Display> from lib.database import Session> import io>> class PasswordManager(object):> def init(self, username, passlist_path, max_passwords, display):> self.passlist = []> self.session = None> self.resume = False> self.is_alive = True> self.is_read = False> self.display = display> self.fingerprint = None> self.username = username> self.passwords_removed = 0> self.passlist_path = passlist_path> self.max_passwords = max_passwords> Display.total_lines = self.count_lines()> @property> def list_size(self):> return len(self.passlist)>> def list_add(self, password):> if not password in self.passlist:> self.passlist.append(password)>> def list_remove(self, password):> if password in self.passlist:> self.attempts += 1> self.passlist.pop(self.passlist.index(password))> self.session.write(self.attempts, self.passlist)>> def count_lines(self):> lines = 0>> fingerprint = (> sha256(self.username.lower().strip().encode()).hexdigest().encode()> )>> self.display.info("Reading wordlist ...")>> with io.open(self.passlist_path, mode="rb") as f:>> for data in f:> lines += 1> chunk = sha256(data).hexdigest().encode()> fingerprint = sha256(fingerprint + chunk).hexdigest().encode()>> self.fingerprint = fingerprint> self.session = Session(self.fingerprint)>> return lines>> def read(self):> attempts = 0> with io.open(> self.passlist_path, mode="rt", encoding="utf-8"> ) as passlist:>> for password in passlist:> if not self.is_alive:> break>> if self.resume:> self.attempts, self.passlist = self.session.read()>> if attempts attempts += 1> continue> else:> self.resume = False>> password = (> password.replace("\n", "")> .replace("\r", "")> .replace("\t", "")> )>> if self.list_size self.list_add(password)> else:> while (> self.list_size >= self.max_passwords and self.is_alive> ):> sleep(0.5)>> if self.is_alive:> self.list_add(password)> self.session.write(self.attempts, self.passlist)>> if self.is_alive:> self.is_read = True>> @property> def attempts(self):> return self.passwords_removed>> @attempts.setter> def attempts(self, n):> self.passwords_removed = n>> def start(self):> self.read()>> def stop(self):> self.is_alive = False>> With maruf>> You can view, comment on, or merge this pull request online at:>> https://github.com/Bitwise-01/Instagram-/pull/216>> Commit Summary>> - 113a968 Password>> File Changes>> (1 file)>> - M lib/password_manager.py (1)>> Patch Links:>> - https://github.com/Bitwise-01/Instagram-/pull/216.patch> - https://github.com/Bitwise-01/Instagram-/pull/216.diff>> —> Reply to this email directly, view it on GitHub, or unsubscribe.> You are receiving this because you are subscribed to this thread.Message> ID: ***@***.***>>> —> Reply to this email directly, view it on GitHub> ,> or unsubscribe> > .> You are receiving this because you are subscribed to this thread.Message> ID: ***@***.***>>—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***> 

eneshanxs avatar Feb 14 '23 07:02 eneshanxs

Hi @Bitwise-01 I think this PR is not relevant. IMHO, we may close/reject the PR.

za avatar Feb 22 '23 05:02 za

Hello. I didnt understand what you say. I only want you to help me and hack an instagram account.I need her @.***_shojaei86 Sent from Yahoo Mail on Android

On Wed, Feb 22, 2023 at 9:07, @.***> wrote:

Hi @Bitwise-01 I think this PR is not relevant. IMHO, we may close/reject the PR.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Hosseinf2012 avatar Feb 22 '23 05:02 Hosseinf2012

Hi @Hosseinf2012 This is a git repo where people put their code. It's not a place to ask someone to crack someone's instagram account.

za avatar Feb 22 '23 07:02 za

Sorry. Thank you. 

Sent from Yahoo Mail on Android

On Wed, Feb 22, 2023 at 11:29, @.***> wrote:

Hi @Hosseinf2012 This is a git repo where people put their code. It's not a place to ask someone to crack someone's instagram account.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

Hosseinf2012 avatar Feb 22 '23 08:02 Hosseinf2012

--git a/lib/password_manager.py b/lib/password_manager.py index cda12ee..ada47a1 100644 --- a/lib/password_manager.py +++ b/lib/password_manager.py @@ -113,3 +113,4 @@ def start(self):

dannykardienaal avatar Sep 24 '23 15:09 dannykardienaal