Bit Che > Scripts & Development

Stepping through a script line by line

<< < (2/2)

md202000:
Thanks,

Here's what I found so far,

Based on my very green review, they made 3 changes that I needed to account for:

1.  Changed .../takelogin.php to  .../login.php
2.  Changed .../browse.php   to  .../torrents.php
3.  Reduced the parameters in the search string.   

I made the changes to the script as follows (not sure how to add as snippet)

code:

name=Torrent-Damage.net
home=http://www.torrent-damage.net/
author=Bovski
pwd=1
login=http://www.torrent-damage.net/login.php
form=username=%USER%&password=%PASS%
failed=<form action="login.php"  method="post" >
failed2=/login.php?return
main=http://www.torrent-damage.net/torrents.php?searchstr=%SEARCH%

However, the above code won't authenticate or login to the site.   So, I'm still looking into it.

When debuging, I get the following:

Script: Torrent-Damage.net  --  On Line: [ 1 / 34 ]

Last Executed:   

Next To Execute:   d=replace(d,</tr><tr><td style,<td style)

Forthcoming:   d=replace(d,<tr>,</tr><tr>)


-----------------DEBUG: VARIABLES----------------

-----------------CURRENT TORRENT: STORED VARIABLES----------------
1 - Name:
2 - Size:
3 - Page:
5 - Seeders: 0
6 - Leechers: 0
7 - URL:

-----------------DATA: VARIABLE 'd'----------------
HTTP/1.1 302 Found
Date: Sat, 30 Jan 2010 07:35:04 GMT
Content-Type: text/html
Connection: close
Server: Apache
X-Powered-By: PHP/5.2.8
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Location: http://www.torrent-damage.net/login.php
Content-Length: 0



-----------------END: VARIABLES----------------


And thats all - it doesn't make it to the "code" routine.

md202000:
Got the login working, had to change 'failed2'.  Moving forward..

Navigation

[0] Message Index

[*] Previous page

Go to full version