Jump to content

Need Some Help


Chocolate570

Recommended Posts

Ok, so this is what i need.I access computers sometimes in a place where my website's admin panel is blocked. :) What i would like is a program which can run ON MY SERVER, not on a computer, that will sort of take a 'interactive screenshot', meaning putting the site on the browser, but without accessing it with the computer. :) Do you get what i mean? Therefore----will be continued later.

Link to comment
Share on other sites

Isn't your computer your server?And if your admin panel is blocked, how do you use it lol?Dont understand :)

Link to comment
Share on other sites

I think what he is saying is that his websites are hosted in a shared environment and when he logs into the Control Panel from, say the local library, the firewall prohibits access to certain ports. Among the ports the library is blocking is the one that his hosting provider uses for the control panel. Therefore, how does one go about bypassing the firewall?You can't - hence firewall. BUT what I have done in the past is set up VNC (a free light weight equivilant to PCAnywhere) on my development server at home. I connect remotely through the standard web port (80) and then make open the web browser remotely from my box at home. Since I would have the port open in my firewall, I'll never have as problem.Is this too long of a road around the problem Chocolate570?

Link to comment
Share on other sites

I don't understand why it is blocked anyway?I just created my own admin panel, with php, and host it on my webhost as part of the site :)

Many organizations, especially ones that cater to the general public (i.e. library), will implement very strict firewall settings for many reasons - mainly bandwidth conservation and attack defense. The organization I currently work for (for example) has all streaming media ports blocked to cut down on bandwidth consumption.So, as I am assuming in my previous post, a particular location that Chocolate570 might be trying to connect to the Control Panel seems to be blocked. The hosting provider would have decided to have all the hosted control panel run off a particular port for a laundry list of reasons.I've seen this plenty of times before, particularly with mail domains where they use www.mydomain.com:8383 instead of mail.mydomain.com - so this problem doesn't surprise me too much.
Link to comment
Share on other sites

Yes, I see. Our school had that too, and it is not surprising at all, I just did not get that point :)Indeed, this problem is hard to solve, only way is not going there, where it is blocked and just go and do your thing with your own PC :):(

Link to comment
Share on other sites

See, everyone is slightly correct.What i would like to do, in more detail:Take a working snapshot of the site i would like to visit WITH MY SERVER! As in, the server should take the snapshot, no program running on my computer should have anything to do with that. When it has taken the snapshot, it should then give it to my browser, allowing me to view the page, without actually going to it. Do you get it? Anyone? :)

Link to comment
Share on other sites

YIKES! That's exactly what i want! It shouldn't let the browser know which site it's going to. Except, when you click a link, it automatically gets out of that site. Which i don't want. No matter what you lcick, it shoudl automatically 'cloak' that url. Do you get what i mean?And dan, when i say snapshot, i mean like a non-graphical snapshot, a snapshot that you can interact with.

Link to comment
Share on other sites

Chocolate570, you'll have to elaborate on the functionality you are looking for. In one sentence you say

Except, when you click a link, it automatically gets out of that site. Which i don't want.
which seems to contradict
No matter what you lcick, it shoudl automatically 'cloak' that url.
so the answer to this question
Do you get what i mean?
would be no!:)The example I gave you should resolve and preserver the url for the site it captures. If you are trying a view sites that aren't post them here.However, if you want me to log you into a site and cloak it as it was being posted from a different server - then thats different story. I can easily do it, but there will be some limitations as to which site(s) it would be able to post to.
Link to comment
Share on other sites

I'm sorry for being confusing, but it's hard not to be vague when you have no clue what you're saying. :)Ok, let me lay it out like this.In that site, it's perfect. when you go t a blocked url, it works beautifully and displays the site! GREAT! Except, when you click a link after loading a page on iribbit, it doesn't open it with iribbit, it tells the browser to open it. Completely defeating the purpose. :(What i need is for it to act like a browser itself and contain links in the software it's using to take the 'snapshot'. So when you click a link on the snapshot, it creates another snapshot, and displays that one to you.Now, the answer to:

Do you get what i mean?
Should be yes. :)Choco
Link to comment
Share on other sites

I need the forms more than the javascript links. Otherwise, it's beautiful! But the forms is the whole reason i need this, (logging in an ACP), so please do that and i'll be eternally greatful. Or for at least a week. :)

Link to comment
Share on other sites

I need the forms more than the javascript links. Otherwise, it's beautiful! But the forms is the whole reason i need this, (logging in an ACP), so please do that and i'll be eternally greatful. Or for at least a week. :)

I'll need the URL to the form - PM it to me if you prefer it not be displayed in this open forum. I'm not usre how deep I can get you inside the CP - it will depend on a number of things - including how the CP is programmed and how their server is configured. But I'll take a stab.
Link to comment
Share on other sites

Hmm...see, i don't only have the acp as a problem, it's email and so on. And well, that's alot of sites. Is there anyway to code it so it automaticaly works with forms? Also, what language is this that yuo're using?

Link to comment
Share on other sites

Hmm...see, i don't only have the acp as a problem, it's email and so on. And well, that's alot of sites. Is there anyway to code it so it automaticaly works with forms? Also, what language is this that yuo're using?

It would take some work. For instance, I would need the page to which the form is being posted and the fields it is passing in. Now, we coudl start with a form (like I do now) that would ask for the target page and the username and password that would be submitted to it. That way I would be able to dynamically post to any page and pull back the results as I do now. The problem is that most forms just aren't built that simple any more. But, I can make something very simple where you would supply the target url, the two field names it requires and the values you want to pass. We'll see how that goes.I use Cold Fusion in all the work that I do. It is the easiest scripting language to learn as it is tag based - looks like HTML but every tag is prefixed with "cf". Here is a sample of some source code:
<table><cfquery name="GetImages" datasource="#sitedsn#">	SELECT	*	FROM		xxxxxx_images	WHERE	xxxxxxID = #GetCases.xxxxxxID#</cfquery><table width="100%"><tr><td class="rowlabel" align="center">IMAGES<br></td></tr><tr><td><cfif #GetImages.recordcount# EQ 0>No images are currently on record for this permit.<br><cfelse>There <cfif #GetImages.recordcount# EQ 1>is<cfelse>are</cfif> #GetImages.recordcount# image<cfif #GetImages.recordcount# NEQ 1>s</cfif> currently uploaded for this item. Click on each image to enlarge it.<br></cfif><br><br></td></tr><cfif #GetImages.recordcount# NEQ 0><tr><td>	<table width="100%">	<tr><cfloop query="GetImages"><cfif #imagename# is not ""><td class="smallestfont" align="center">	<a href="java script: Info('#urlused#image-view.cfm?imagename=#imagename#');"><img src="#urlused#uploads/#imagename#" width="200" height="125" border="0" alt="#imagename#"></a><br>	<cfif #session.access_permits# IS "modify">		<a href="java script: Info('#urlused#image-view.cfm?imagename=#imagename#');"><strong>VIEW</strong></a> |	<a href="java script: Info('#urlused#site-admin/z-images-edit.cfm?addressID=#addressID#&zoningID=#url.zoningID#&imageID=#imageID####imageID#');"><strong>EDIT</strong></a><br>	</cfif>	<br>	</td><cfif GetImages.currentrow mod 3 is 0></tr>	<tr></cfif></cfif></cfloop></tr>	</table>	<table width="80%" align="center">	<tr><td class="smallfont" valign="top">	<em><strong>NOTE</strong>:</em><br>	</td><td class="smallfont" valign="top">	<em>Imags may not appear in proportion to actual size - click the image to display the image at its actual size and in a seperate window.</em><br>	</td></tr>	</table><br><br></td></tr></cfif></table>

What is great about Cold Fusion is that the scripting language is exclusive from the HTML - so it is always easy to see one from the other. Unlike asp and php where your HTML is blended in your scripts and even inside the code.

Link to comment
Share on other sites

Hmmm......there's no way to make it exactly as it is now, exept with forms? :)

Nope. Everyform is different. Every form posts to its target - so if I am pulling a page into my page then when it posts to the target it is posting outside of my page - thus removing all control I would have.What I am doing is using a server-side script that basically tells the server to get this page, and put it entire contents in a variable. I then simply dump the vairable onto my page. On the first draft, the links when to the site that was pulled in. This was possible because I defined a resolve attribute which read the file and changed all the links to victim page. The second/current version, I am replacing all "href=" calls with my url and then "?goto=" so that the links posts back to my site appended with the original URL from the victim site. Pretty clever if I don't say so myself. And that is why javascripts will break.But if I do that with a form "action" attribute, then the page will post back to my site where it is impossible to process the information like the target page intended. So, here is where I use the same set up descibed above, but instead of grabbing the victim page, I grab the action page it posts to while passing the form attributes it expects. When that information is sent back and dumped out - I will have essentially logged my server into your site versus your browsers into your site (which is the problem witht he firewall).Sorry its not as simple as it seems.
Link to comment
Share on other sites

Wait, does that mean it'll work? :) I'm slightly confused.

But if I do that with a form "action" attribute, then the page will post back to my site where it is impossible to process the information like the target page intended. So, here is where I use the same set up descibed above, but instead of grabbing the victim page, I grab the action page it posts to while passing the form attributes it expects. When that information is sent back and dumped out - I will have essentially logged my server into your site versus your browsers into your site (which is the problem witht he firewall).
Won't that work ok?
Nope. Everyform is different. Every form posts to its target - so if I am pulling a page into my page then when it posts to the target it is posting outside of my page - thus removing all control I would have.
Oh, like if they were sending the link to the frame.....Well, do you mean it's possible? :)Thanks so much.Choco
Link to comment
Share on other sites

  • 2 weeks later...
Wait, does that mean it'll work? :) I'm slightly confused.Won't that work ok?Oh, like if they were sending the link to the frame.....Well, do you mean it's possible? :)Thanks so much.Choco

Its not impossible but its very very extensive coding - nothing I can afford to due at this point in time. The concept just seems like one of those things a very wealthy person would pay you to do just to have it - when all you would need to do is go to another computer.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...