Whiteshadowz wrote:Hey guys.. writing this code in python 3.x... I'm using the requests module.. I've successfully been able to get the source code by opening the url with the right cookie... I've processed all the data and came to an answer... but when I try to post the 'solution' I get an error back saying Invalid refer, I've tried posting the data with the same cookie that allowed me the source code but my program is still considered an Invalid refer... idk where to go from here >:| .. any help would be greatly appreciated :/
Whiteshadowz wrote:Hey guys.. writing this code in python 3.x... I'm using the requests module.. I've successfully been able to get the source code by opening the url with the right cookie... I've processed all the data and came to an answer... but when I try to post the 'solution' I get an error back saying Invalid refer, I've tried posting the data with the same cookie that allowed me the source code but my program is still considered an Invalid refer... idk where to go from here >:| .. any help would be greatly appreciated :/
opener.addheaders.append(('Referer','https://www.hackthissite.org/missions/prog/11/index.php'))
br.addheaders = [('Referer', 'https://www.hackthissite.org/missions/prog/11/index.php')]
headers = {'Referer': 'https://www.hackthissite.org/missions/prog/11/index.php'}
data={'solution':YOURSOLUTIONSTRINGHERE}
r = requests.post(url, data=data, headers=headers)
Whiteshadowz wrote:Hey guys.. writing this code in python 3.x... I'm using the requests module.. I've successfully been able to get the source code by opening the url with the right cookie... I've processed all the data and came to an answer... but when I try to post the 'solution' I get an error back saying Invalid refer, I've tried posting the data with the same cookie that allowed me the source code but my program is still considered an Invalid refer... idk where to go from here >:| .. any help would be greatly appreciated :/
/* Known problems with operating on Strings
String Delimiter Answer
64*77*79*98*66*55*74* 21 +8:M-"5
81*68*116*74*117*93*62*111*95*67*65*64*77* 29 4'W-X@!RB&$#0
98'88'57'89'77'90'88'59'91'51'61'56' 16 RH)I=JH+K#-(
80(90(71(57(38(60(71(78(89(87(71(88(39( 0 PZG9&<GNYWGX'
80&70&78&63&41&78&43&47&90&81&62&63&77&84&52& 4 LBJ;%J'+VM:;IP0
*/
senor@SenorContento-Laptop:~/.data/NonIDE_Projects/HTS-Projects/Programming/CaesarCipherUndoer$ ./HTS_Programming_11.sh
Parsing...
String: 25-65-15-54-34-62-37-42-60-50-61-29-56-58-
Shift: -19
,T"I5Q8=OEP0KM
Message: "You have already completed this mission"
//get the form and input somewhere first
input.value = youranswer;
form.submit();
// number = "1/2/3/4/5"
// regex checks for 1 or more number
matches = number.match(regex);
// matches = ["1", "2", "3", "4", "5"]
let content = document.getElementsByClassName("sitebuffer")[0].children[2].children[0].children[3].children[1].innerHTML;
// the position is absolute but what i need has no name, no id and no unique tagname so yay spaghetti
54.76.72.70.60.73.52.79.80.90.80.54.59.73.
17
G]YWMZE`akaGLZ
len() = 14
Wrong answer
55&65&52&57&50&46&63&
4
;E8=62C
len() = 7
Wrong answer
4)42)8)39)30)24)
-30
Error 4 - 30 < 0
Users browsing this forum: No registered users and 0 guests