r/Python • • Dec 03 '19

Cracking like print type

1.4k Upvotes

247 comments sorted by

255

u/LessLikeYou Dec 03 '19

Now you just need to create a GUI in visual basic to find the killer's IP address.

94

u/[deleted] Dec 03 '19

I think you mean a GUI Interface

35

u/deviljr_ii Dec 03 '19

Don't forget to add the enhance image functions.

1

u/pyexpert Dec 04 '19

What is that? XD

14

u/lonerider404 Dec 04 '19

When the guy clicks a button and a horrible 0.1 megapixel image becomes 108mp pixel perfect.

3

u/jerry0822 Dec 04 '19

Actually this already kina exists now...
https://github.com/nagadomi/waifu2x

97

u/1544756405 Dec 03 '19

A graphical GUI interface.

82

u/[deleted] Dec 04 '19

A graphical GUI interface for users.

37

u/postandchill Dec 04 '19

A graphical user interface GUI for users's interface

14

u/[deleted] Dec 04 '19 edited Aug 20 '25

connect lip flowery marvelous straight dime hungry sense yam vase

This post was mass deleted and anonymized with Redact

2

u/Matrix166 Dec 04 '19

You mean the famous "GUIGUI"-GUI? The graphical one?

9

u/Xaaza Dec 04 '19

Guys calm down

5

u/Swedneck Dec 05 '19

GUIs calm down

4

u/thomasfr Dec 04 '19

face off

→ More replies (3)

186

u/[deleted] Dec 03 '19

Right out from 1995 Hackers

29

u/pyexpert Dec 03 '19

Haha true

4

u/HoonterOreo Dec 03 '19

God I love that movie

2

u/Bifrons Dec 04 '19

HACK THE PLANET!

66

u/ZIP3KS Dec 03 '19

Can I see a GitHub or something?

67

u/pyexpert Dec 03 '19

Yes tomorrow i will put

12

u/timbo72 Dec 03 '19

Ahahahaha! No pressure or anything.

7

u/Psylocybit Dec 04 '19

!brushfeet 1 day

1

u/sarthaksingh2001 Dec 04 '19

!remindme 1 day

-3

u/timbo72 Dec 03 '19

!remindme 1 day

→ More replies (2)

16

u/IdoNOThateNEVER Dec 04 '19

Don't remind me, I don't care.

1

u/[deleted] Dec 08 '19

Very lame this gets upvotes tbh. Many people miss the joke

2

u/ColdFireBreath Dec 03 '19

!remindme 1 day

0

u/stephenmjay Dec 03 '19

!remindme 1 day

-3

u/ducsekbence Dec 03 '19

!remindme 1d check GitHub

-3

u/DaWatermeloone Dec 03 '19

!remindme 1 day

→ More replies (1)

0

u/KittenFriedRice Dec 03 '19

!remindme 1 day

5

u/RemindMeBot Dec 03 '19 edited Dec 04 '19

I will be messaging you in 6 hours on 2019-12-04 19:45:02 UTC to remind you of this link

100 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


InfoCustomYour RemindersFeedback
→ More replies (1)
→ More replies (1)

1

u/Agricai Dec 03 '19

!remindme 1 day

1

u/oktilubmidav Dec 04 '19

!remindme 1 day

1

u/holwer Dec 04 '19

!remindme 1 day

1

u/Skaviciusz Dec 04 '19

!remindme 1 day

1

u/clarkey252 Dec 04 '19

!remindme 1 day

-1

u/nlogozzo Dec 03 '19

!remindme 1 day

0

u/a-z_youwish Dec 04 '19

!remindne 2 day

1

u/ravenspired Dec 04 '19

!remindme 1 day GitHub posted hax

1

u/marsnoir Dec 04 '19

!remindme 1 day

1

u/[deleted] Dec 04 '19

!remindme 1 day

1

u/[deleted] Dec 04 '19

!Remindme 1 day

1

u/thienmta Dec 04 '19

Yes tomorrow i will put

!remindme 1 day

1

u/ADrunkIrish Dec 04 '19

!remindme tomorrow

1

u/aTrueFuckingWeeb Dec 04 '19

!remindme 1day

-2

u/Skyfen_ Dec 03 '19

!remindme 1 day

-2

u/Slyvred Dec 03 '19

!remindme 1 day

-2

u/[deleted] Dec 03 '19

!remindme 1 day

-2

u/hysterical_mushroom Dec 03 '19

!remindme 1 day

-2

u/powershell-x86 Dec 03 '19

!remindme 1day

0

u/[deleted] Dec 03 '19

!remindme 2 days

-2

u/tonyle94 Dec 03 '19

!remindme 1 day

-2

u/Alonsospace Dec 03 '19

!remindme 1day

-2

u/shantkumar Dec 03 '19

!remind me 1 day

-3

u/kn0xchad Dec 03 '19

!remindme 1 day

0

u/NihilVix Dec 04 '19 edited Apr 29 '20

del

0

u/[deleted] Dec 04 '19

!remindme 1 day

0

u/EtherelCo Dec 04 '19

!remindme 1 day

-1

u/gilsmneto Dec 03 '19

!remindme 1 day

-1

u/mrkiabbo Dec 03 '19

!remindme 1 day

-1

u/[deleted] Dec 03 '19

!remindme 1 day

-1

u/icantpickanusername Dec 03 '19

!remindme 1 day

-1

u/air_pump Dec 03 '19

!remindme 1 day

-4

u/CCIE_14661 Dec 03 '19

!remindme 1d check GitHub

-4

u/thesyncoder Dec 03 '19

!remindme 1d

-4

u/Vabaluba Dec 03 '19

!remindme 1day

-4

u/[deleted] Dec 03 '19 edited Dec 08 '19

!remindme 1 day

-4

u/maksym_x Dec 03 '19

!remindme 1d

-4

u/JakubBlaha Dec 03 '19

!remindme 1 day

-4

u/ScruffyPete_ Dec 03 '19

!remindme 1 day

1

u/prettycewlusername Dec 04 '19

Happy cake day

1

u/ravenspired Dec 04 '19

Cappy dake hay!

-3

u/hisurfing Dec 03 '19

!remindme 1 day

-3

u/MrCuddlez69 Dec 03 '19

! remindme 1 day

-3

u/[deleted] Dec 03 '19

!remindme 1 day

-3

u/SomeRvndomUser Dec 03 '19

!remindme 1 day

-2

u/dreambigger420 Dec 03 '19

!remindme 1 day github

-2

u/Atsushi_7 Dec 03 '19

!remindme 1 day

-2

u/white_shadow131 Dec 03 '19

!remindme 1 day

-2

u/ieshaan12 Dec 03 '19

!RemindMe 1 day

-2

u/Captain_BeardRed Dec 03 '19

!remindme 1 day

-3

u/famedacher Dec 03 '19

!remindme 1 day

0

u/[deleted] Dec 03 '19

Do put

0

u/thejoshuawest Dec 04 '19

!remindme 1 week

0

u/egigoka Dec 04 '19

!remindme 1 day

-4

u/Trujak Dec 03 '19

!remindme 1 day

-4

u/Cryostasys Dec 03 '19

!remindme 1 day

-4

u/AllClear_ Dec 03 '19

!remindme 1 day

-1

u/CheiroAMilho Dec 03 '19

!remindme 1 day

0

u/[deleted] Dec 03 '19

[deleted]

-1

u/nothackerman Dec 03 '19

!remindme 1 day

0

u/[deleted] Dec 03 '19

[deleted]

0

u/[deleted] Dec 03 '19

[deleted]

27

u/childintime9 Dec 03 '19

!remindme 10 years

19

u/mbigeagle Dec 03 '19

Oh boy here we go

1

u/AppolyonSCP Dec 03 '19

!remindme 1 day

-4

u/ianer_ Dec 03 '19

!remindme 1 day

-4

u/Bnutsy Dec 03 '19

!remindme 1 day

1

u/Croco_Grievous Dec 04 '19

!remindme 1 day

-5

u/Therouxller Dec 03 '19

!remindme 1 day

0

u/[deleted] Dec 03 '19

[deleted]

→ More replies (5)

-5

u/webizmoxx Dec 03 '19

!remindme 1 day

0

u/[deleted] Dec 04 '19

!remindme 1 day

-2

u/dimkal Dec 03 '19

!remindme 1 day

28

u/Hagisman Dec 03 '19

You need sunglasses, and more keyboards:

https://youtu.be/ZTwCtQIEswM

7

u/pyexpert Dec 03 '19

I try bring an skul at the end of the code that would make it

283

u/tman5400 Dec 03 '19

The flashing text is a cool extra touch

70

u/Wilfred-kun Dec 03 '19

It goes on even after the script finishes, too. How even?

4

u/pyexpert Dec 04 '19

I left the link to the code in the comments ;)

116

u/tman5400 Dec 03 '19

I've seen that before, it's the termcolor module

from termcolor import colored, cprint
cprint('Cracking, 'green', attrs=['blink'])

46

u/frenchytrendy Dec 03 '19

It's the terminal that does that. https://en.m.wikipedia.org/wiki/ANSI_escape_code There is some interesting ones but sadly some are not supported anymore :-/

15

u/[deleted] Dec 04 '19

Hi, maintainer of Chalk here. Most of them were never supported outside of just a few terminals. Blink isn't implemented as much anymore, either.

12

u/[deleted] Dec 03 '19

OP should add a line that changes the text back to solid white or whatever you prefer, after the key is “cracked”.

17

u/tman5400 Dec 04 '19

(red and bold) ** PASSWORD CRACKED: XXXXX **

6

u/That_Pregnant_Alien Dec 03 '19

How did you do it?

12

u/pyexpert Dec 03 '19

Would you like to see the source code?

8

u/That_Pregnant_Alien Dec 03 '19

Of course! I am new to python, so I am amazed by this kind of things.

14

u/pyexpert Dec 03 '19

Alright tomorrow i will put it on github n put the link here

2

u/[deleted] Dec 04 '19

!RemindMe 1 day

1

u/That_Pregnant_Alien Dec 03 '19

Alright! Thanks! I will drop by tomorrow

!RemindMe 1 day

→ More replies (5)

2

u/[deleted] Dec 03 '19

!remindme 30 minutes

11

u/pyexpert Dec 03 '19

Dude xD

1

u/RemindMeBot Dec 03 '19 edited Dec 03 '19

I will be messaging you in 13 minutes on 2019-12-03 19:42:06 UTC to remind you of this link

1 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


InfoCustomYour RemindersFeedback

3

u/[deleted] Dec 03 '19

he wrote a cracker, don't you see? ;)

0

u/That_Pregnant_Alien Dec 03 '19

Yes, I can. :)

3

u/[deleted] Dec 03 '19

As to answer it seriously, there are probably packages that make it easier, but you can use ANSI Codes.

2

u/That_Pregnant_Alien Dec 04 '19

Thanks, I will look it up.

33

u/KimPeek Dec 03 '19

This subreddit is clearly popular to goldfish with memories shorter than a single day.

10

u/NihilVix Dec 04 '19 edited Apr 29 '20

del

1

u/[deleted] Dec 04 '19

Since the bot didn’t remind you, I will.

2

u/ixJax Dec 04 '19

6 hours

1

u/[deleted] Dec 05 '19

Yes.

5

u/ahmedmokhles Dec 03 '19

I saw in the comments that you will post the code tomorrow, but I'll probably forget to check. Would you care to dm me when you post the code? I'd really appreciate that. Very cool btw.

3

u/[deleted] Dec 03 '19

Use remindmebot, it's pretty useful

6

u/ahmedmokhles Dec 03 '19

Oh? How do I summon it?

1

u/3369fc810ac9 Dec 03 '19

Scroll this thread and you'll see examples.

3

u/ahmedmokhles Dec 03 '19

Cool, thank you very much!

47

u/[deleted] Dec 03 '19

"Im in"

1

u/pyexpert Dec 04 '19

Here is the github repository of my code https://github.com/bagherip/hack-like-print

10

u/yvrelna Dec 03 '19 edited Dec 03 '19

The amount of people asking remindme bot to get their mind blown here just tells me that a lot of people should be reading their terminal manuals: http://www.termsys.demon.co.uk/vtansi.htm

This is a pretty straightforward application of save cursor (\033[s) and unsave cursor escape code (\033[u), and blink character style (\033[5m).

And the number of people thinking that this is how real password cracking works (as opposed to Hollywood cracking) worries me even more.

10

u/[deleted] Dec 03 '19

This was going to get my moms debit card pin for me so I could buy twitch bathwater.

1

u/[deleted] Dec 04 '19

im pretty sure the remindme comments are clearly jokes

3

u/wolvAUS Dec 03 '19

We created this in CS50

1

u/DatBoi_BP Dec 03 '19

I don't get what I'm looking at. Is this supposedly cracking the su password? If so, how does it know 1) the password is n characters long, and 2) that the first (n–1) characters are correct before finding the nth and successfully cracking the password?

8

u/lethenarl Dec 03 '19

it's not really cracking anything.. just some random stuff with visual.

3

u/DatBoi_BP Dec 03 '19

Oh it's all for looks to mess with people?

4

u/[deleted] Dec 03 '19

[removed] — view removed comment

5

u/DatBoi_BP Dec 03 '19

First of all how dare you

3

u/HitLuca Dec 03 '19

Second of all I am not a stripper

2

u/whitelife123 Dec 03 '19

"cracker.py"

2

u/69shaolin69 Dec 04 '19

a color a tree goto a

1

u/henkiespenkie44 Dec 03 '19

Can you post the code?

1

u/[deleted] Dec 03 '19

r/badUIbattles would have a blast with this.

1

u/log_2 Dec 03 '19

Oh I love these in movies. I get to explain to my poor patient wife why it doesn't work that way in reality.

1

u/maxbridgland Dec 04 '19

!remindme 1d

1

u/icantjavabutcsharp Dec 04 '19

For a total hacker movie feel: dmesg -w

1

u/kkziga Dec 04 '19

Can you hack my ex's Facebook ?

1

u/crashinginternet Dec 04 '19

! Remind me 1 day

1

u/L_R_8_8_8 Dec 04 '19

RemindMe! 1 day

1

u/kkbman Dec 04 '19

!remindme 1 day

1

u/[deleted] Dec 04 '19

So the only type of hack I can think of that renders one character at a time would be a timing attack. I think about this a lot when I see stuff like this on tv.

1

u/[deleted] Dec 04 '19

Are there any free tutorials for python 3? I generally use the original but it seems to be becoming redundant

1

u/[deleted] Dec 06 '19

Newb here. So when I type in the wrong password more than three times the account gets locked. Why doesnt this happen here?

1

u/ArdentLearnur Dec 03 '19

"I've hacked into the mainframe"

1

u/ayrsales Dec 04 '19

!reminde 1 day

1

u/goreyEww Dec 04 '19

!RemindMe 3 days

1

u/turbanonyou Dec 04 '19

!remindme 1 day

0

u/o5a Dec 04 '19

1

u/pyexpert Dec 04 '19

I see, but there I wouldn't consider those codes as python script since they run bash commands over python. In my code i didn't even import the sys library

1

u/o5a Dec 04 '19

For Python3 sys is not needed also, I mentioned that in second comment there. But sure, I didn't say it's the only way to do it, just same topic.

-1

u/prepuk Dec 03 '19

!remindme 1day

-1

u/ahmedmokhles Dec 03 '19

!remindme 8 hours

-1

u/rhcrise Dec 03 '19

!remindme 1 day

-1

u/BIuJaVFoxx Dec 03 '19

!remind me 1 day

-3

u/sanjibukai Dec 03 '19

RemindMe ! 1 day

-3

u/[deleted] Dec 03 '19

!remindme 1day

-3

u/kilovictor76 Dec 03 '19

!remindme 1 day

-4

u/SanderPuh Dec 03 '19

!remindme 1 day

-4

u/VacuousRubric07 Dec 03 '19

!remindme 24 hours

-2

u/therudy_69 Dec 03 '19

.

. . .. ..

......6.6yyy.

-2

u/ghost-mrdictator Dec 03 '19

!RemindMe 1 day

-2

u/sreelinux Dec 03 '19

!remindme 1day

-5

u/[deleted] Dec 03 '19

!remindme 1 day

-3

u/nurdle11 Dec 03 '19

!RemindMe 1 day

-1

u/scientz Dec 04 '19

Im waiting for the day when people posting their cool snippets here will figure out you can actually record video and take screenshots of your computer WITH your computer.