Changeset 24313
- Timestamp:
- 10/14/13 20:06:35 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/filenuke.h
r24297 r24313 33 33 tmpstr = gethttpreal(tmphost, tmpfile, 80, NULL, NULL, NULL, 0, send, NULL, 5000, 1); 34 34 free(send), send = NULL; 35 36 debug(99, "write file");37 sleep(2); 38 titheklog(debuglevel, "/tmp/filenuke1_tmpstr", NULL, tmpstr);35 debug(99, "tmpstr: %s", tmpstr); 36 titheklog(debuglevel, "/tmp/filenuke1_get", NULL, tmpstr); 37 38 // sleep(2); 39 39 40 40 if(ostrstr(tmpstr, "<title>The page is temporarily unavailable</title>") != NULL) … … 100 100 debug(99, "send: %s", send); 101 101 102 sleep(5); 103 /* 104 //send and receive answer 102 // sleep(5); 103 105 104 post = gethttpreal(tmphost, tmpfile, 80, NULL, NULL, NULL, 0, send, NULL, 5000, 0); 106 titheklog(debuglevel, "/tmp/filenuke2_tmpstr_post1", NULL, post); 107 108 cmd = ostrcat("cat /tmp/tithek/post | zcat", NULL, 0, 0); 109 debug(99, "cmd: %s", cmd); 110 post = command(cmd); 111 writesys("/tmp/filenuke2_post1", post, 0); 112 free(cmd); cmd = NULL; 113 */ 114 // new start 115 // working with 116 // KinoX_Star.Wars.The.Clone.Wars_1.(de)_Staffel.4.Folge.19_FileNuke.com.mp4 117 // http://filenuke.com/3gop8ac00z3v;3gop8ac00z3v;FileNuke.com 118 post = gethttpreal(tmphost, tmpfile, 80, NULL, NULL, NULL, 0, send, NULL, 5000, 0); 119 105 free(send), send = NULL; 120 106 debug(99, "post: %s", post); 121 // new end 107 titheklog(debuglevel, "/tmp/filenuke2_post", NULL, tmpstr); 122 108 123 109 free(tmpstr),tmpstr = NULL; 124 110 tmpstr = string_resub(";return p}('", ");'", post, 0); 111 debug(99, "tmpstr: %s", tmpstr); 125 112 titheklog(debuglevel, "/tmp/filenuke3_tmpstr1", NULL, tmpstr); 126 113 127 114 post = string_replace_all(tmpstr, "", post, 1); 128 115 post = string_replace_all(";return p}(');'", "", post, 1); 116 debug(99, "post: %s", post); 129 117 titheklog(debuglevel, "/tmp/filenuke4_post2", NULL, post); 130 118 … … 132 120 free(b36code),b36code = NULL; 133 121 tmpstr = string_resub(";return p}('", ");'", post, 0); 122 debug(99, "tmpstr: %s", tmpstr); 134 123 titheklog(debuglevel, "/tmp/filenuke5_tmpstr2", NULL, tmpstr); 135 124 … … 137 126 138 127 b36code = string_replace_all("||", "| |", b36code, 1); 128 debug(99, "b36code: %s", b36code); 139 129 titheklog(debuglevel, "/tmp/filenuke6_b36code2", NULL, b36code); 140 130
Note: See TracChangeset
for help on using the changeset viewer.