New answers tagged

7

Regex can become an incredibly slow operation in Python 3 because python's re module doesn't build a DFA in the background and instead uses recursive backtracking. This means that the regular expression will take exponential time rather than linear time when applied to a string. An attacker could construct a regular expression that takes the maximum amount ...


0

I don't see any useful question here. This is just code which is not used anywhere. It is asking a theoretical question how long it would take to hack such a thing, without given any kind of context how and where this would be used. In reality it is not that important how long it takes to crack some new algorithm, since there are enough algorithms out there ...


0

In your Kali machine you could push the netcat listener into the background by issuing: nc -lvp [port] & (Don't use the brackets in your command) You cursor may be on a new blank line, but no worries, just hit enter and it will bring you back to where you can issue another command. Feel free to look at the job in the background by using: jobs ...


2

Sounds like you're trying to implement something like single sign-on between two of your apps. In this case, you should be able to without any significant security issue. Instead of authenticating with login credentials, you could have App B authenticate with App A's session ID. Obviously give the ID the same protections you'd give login creds, i.e. only ...


1

I'm new to this, so any help would be greatly appreciated This is actually an issue were not only newbies despair. The issue is complex and depends on specific implementations and bugs in the TLS libraries involved. Thus it is not really your fault that it does not work as expected. I hope the following explanation can be understood: There are actually ...



Top 50 recent answers are included