[SCRIPTING] extract captcha image from base64
How would I go about extracting image data to send for captcha solving if the image is encoded on page as base64, eg:
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAAeBAMAAAAV58emAAAAGFBMVEX///8AAAA/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8UHZJlAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABLUlEQVQ4y9VVPYvDMAy1S5Os1tT1yC8o+A90MNzqo2TPlLkcBf/9yt9SQkrr4+BOSxLpPelJ/ogQ/8iGWzvVtXPfpI7j+FGo7v1yhzHY4H7Q7DfR8DfmBPEhQVnmiG9+TgCqYDhXQgZCxxz+LcxJqpivn4EkjqT4jQipJuJAOxXFGEVuwLDCqlYWwlLZ7gZEfz8nDOsYSD9dJTtXoRha5m3PuZ+cZUpkbLaG0LXwSrleGmXux3pIWNkSQlsYZrNUOYDCocwp1ekX+ZxcJE3kBEQPjmqFoWSDdknDGNwXACPj8u5ukmRHn8F8unuceDW/RC+fAGOmkOfSeAJslfJiEjKnKFyfBU1inimmX7hVtF5DzI6UzXG/6v06Ry5jfRtr3TVfHTrt8Xazv/njeQDbLDNQzXwxMQAAAABJRU5ErkJggg==" class="mb-2" id="captcha" alt="Captcha" />
I'm sure I've encountered this before years ago but can't see anything in the forum about it.
captcha=%captcha% *data:image*
maybe?
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAAeBAMAAAAV58emAAAAGFBMVEX///8AAAA/Pz8/Pz8/Pz8/Pz8/Pz8/Pz8UHZJlAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABLUlEQVQ4y9VVPYvDMAy1S5Os1tT1yC8o+A90MNzqo2TPlLkcBf/9yt9SQkrr4+BOSxLpPelJ/ogQ/8iGWzvVtXPfpI7j+FGo7v1yhzHY4H7Q7DfR8DfmBPEhQVnmiG9+TgCqYDhXQgZCxxz+LcxJqpivn4EkjqT4jQipJuJAOxXFGEVuwLDCqlYWwlLZ7gZEfz8nDOsYSD9dJTtXoRha5m3PuZ+cZUpkbLaG0LXwSrleGmXux3pIWNkSQlsYZrNUOYDCocwp1ekX+ZxcJE3kBEQPjmqFoWSDdknDGNwXACPj8u5ukmRHn8F8unuceDW/RC+fAGOmkOfSeAJslfJiEjKnKFyfBU1inimmX7hVtF5DzI6UzXG/6v06Ry5jfRtr3TVfHTrt8Xazv/njeQDbLDNQzXwxMQAAAABJRU5ErkJggg==" class="mb-2" id="captcha" alt="Captcha" />
I'm sure I've encountered this before years ago but can't see anything in the forum about it.
captcha=%captcha% *data:image*
maybe?
Comments