Are you stressed by your Thales Payshield? Do you like to stress it back? Then you will be happy to know that a new version of PayShield Pressure Test is available on GitHub at this link:

The new version is v1.0: do not be tricked by the number, I decided to call it v1.0 because finally, it supports all the HOST’s protocols: TCP, UDP and TLS.

Initially, it was just a simple script only capable of sending the NC command using TCP and display the response but now can do much more.

Actually, it supports the following operations:

  • creating RSA keys 2048 or 4096 bit long using the EI command
  • send monitor commands: J2, J4, J8 and JK
  • send the NC command
  • generate 8 bytes long random numbers using N0
  • It supports UDP, TCP and TLS protocols
  • analyse and display the status code returned
  • check if the reply is congruent with the request (e.g., if I send J2 I’d receive back J3)

It requires Python 3. It was tested on Python 3.7 and 3.8 using a payShield 10k.

The project is Open Source and it is under the terms of the GNU Affero General Public License

I would like to say a big thank you to JetBrains for giving us the Open Source License for free with the full access to their developer suite. PyCharm is an awesome Python IDE that greatly simplified my work.