r/shittyprogramming • • Jun 06 '16

I've been told to expect some penetration testing by a third party over the next few weeks. I've never even had a girlfriend. How worried should I be?

295 Upvotes

18 comments sorted by

148

u/GYN-k4H-Q3z-75B Jun 06 '16

I hope your backend is ready.

90

u/zeugma25 Jun 06 '16

yes.

  1. i will insist on sanitised input before anything is unzipped.

  2. i have enabled plug 'n' play

  3. Before allowing anything to happen on the production table I will check the column size.

am i doing this right? :)

16

u/nagelimkopp Jun 06 '16

If it becomes uncomfortable, send them a pull request.

4

u/zeugma25 Jun 06 '16

i remember from my ham radio days the "roger and out" signal. presumably this performs a similar function - thanks.

6

u/zombie_girraffe Jun 07 '16

just make sure to emphasize the "out" so they don't mis-hear "roger and" as "roger in" and keep going.

38

u/GYN-k4H-Q3z-75B Jun 06 '16

Very much so. However, don't forget doing some bottom up testing first. back_inserters that come with std are really prone to tearing a hole in your walls. Do your tests and be safe.

5

u/blahbah Jun 06 '16

Best way to keep any stdout

6

u/lelarentaka Jun 06 '16

You should prepare against frontal penetration too. Easy enough, don't use Caesar cipher in your code, cause you know what happened to that guy.

24

u/UnspeakableEvil Jun 06 '16

I believe he fell victim to a Brutus force attack.

31

u/UnspeakableEvil Jun 06 '16 edited Jun 06 '16

Be extremely easy of any backdoor exploits. There may also be some package sniffing going on too - SOAP may help you you impress them here.

Honestly your safest bet is thread dump your logs and hope that's enough to deter them.

7

u/zeugma25 Jun 06 '16

I can't believe I missed those!

23

u/[deleted] Jun 06 '16

Is your program assynchronous?

19

u/zeugma25 Jun 06 '16

I don't allow hot-swapping, if that's what you mean

5

u/[deleted] Jun 07 '16

Assome

35

u/urquan Jun 06 '16

When the time comes just open a terminal and type the following and it should go smoothly :

unzip; strip; touch; grep; finger; mount; fsck; more; more; more; yes; umount; sleep

10

u/zeugma25 Jun 06 '16 edited Jun 06 '16

that may be technically the best way to do it and I don't mean to sound ungrateful but i am really looking for a quick and dirty solution.

eg much of that could be accomplished with the Play() function, taking 4 as an argument. thanks anyway.

edit: changed parameter to argument, for rectitude.

3

u/poop-trap Jun 06 '16 edited Jun 06 '16

Third-parties often want to do some hot swapping. It may seem like a novel idea but be wary, it rarely ends well. I would consider sticking to second-parties only. It's not as trendy these days but it's much safer.

0

u/[deleted] Jun 06 '16

[deleted]

14

u/zeugma25 Jun 06 '16

yes, but i've only one port for a dongle.