You put the script that you want on every page, and tell JavaScript to load it from a single file. You could do something similar with JavaScript. Server side includes were important, because you could commonly used code (like the header and footer for the page) in a couple of files, and if you changed one of those files, the change would replicate over your whole site. You could do all kinds of things with Java and JavaScript, but you couldn’t do anything that ran on the web server, like CGI scripts or server-side-includes. So I did what I always do when presented with a technical challenge: fall back on a piece of knowledge that spent like 30 minutes learning that one time, like 20 years ago.Ī long time ago, in a galaxy far away, there used to be these crappy free web hosts like Geocities where people could make their own websites. I am just a bit behind the kids today with their hula-hoops and their rock-and-roll. I haven’t created a web page without using a content management system in *at least* 15 years.That means that a link “:1234″ will point to Apache adds a leading slash to a relative path.This *could* be solved by using relative paths in the hyperlinks *but*… A hyper link to 192.168.1.211 is of no help if that IP is inaccessible to the client. The IP, FQDN, or hostname could be different every time you access the webpage. You don’t know what network you will be accessing the server from.Turns out, there are several challenges with this: Putting a bunch of links to the different server ports on a webpage *seemed* simple enough: just grab a basic Apache container, fire it up, and create a basic webpage full of hyperlinks. I might be connecting through local ports on SSH tunnels, NeoRouter, or via a hostname. The other challenge is needing to connect to that server from a number of different methods. One problem with using a single Docker server for a modern smuggling operation is that I end up running a bunch of web applications on different port numbers that I can’t remember.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |