Jump to content

V4 Not Loving Images?


blackball
 Share

Recommended Posts

So I'm playing with the rickroll feature and I've successfully redirected to my custom HTML page. The only problem is that the text appears but the image doesn't. I'm guessing there's some sort of reference problem, but for the life of me I can't figure it out. I'm doing something like <img src="image.png"> where the image is in the WWW folder the same as the index.html file that's calling it. Any guesses what I'm doing wrong?

Link to comment
Share on other sites

Rickrolling requires only two files:

*index.html (you may need to rename it to .php though, so it gets loaded as default)

*NGGUP.wav (change the index.html file to say .wav instead of .mp3)

The image is ASCII art, so there are no images. Except if we are speaking of two different rickrolls.

Which one did you mean?

Best,

Sebkinne

Link to comment
Share on other sites

this is my rickroll page

I just added

172.16.42.1 *.example.com

172.16.42.1 *.

172.16.42.1 *

to the spoof list (all three because I didn't know which one redirects everything)

&lt;html&gt;
&lt;title&gt; whatever &lt;/title&gt;
&lt;head&gt;&lt;/head&gt;
&lt;body&gt;
&lt;h1 size="36"&gt; Hi :) the site you are trying to visit no longer exists, but he's a video instead, sorry for the inconvenience. &lt;/h1&gt;
&lt;p&gt;&lt;img src="http://i0.kym-cdn.com/photos/images/original/000/096/044/trollface.jpg?1296494117"/&gt;
&lt;/p&gt;
&lt;iframe width="420" height="315" src="http://www.youtube.com/embed/oHg5SJYRHA0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;
&lt;/body&gt;
&lt;/html&gt;

I didn't want to upload any pictures to the pinapple for space reasons, make sure you have image directory's correct, or webpage links correct, your code is looking for image.png on the root folder, make sure you specify the correct path. Hope my code helps.

Edited by soka80
Link to comment
Share on other sites

this is my rickroll page

I just added

172.16.42.1 *.example.com

172.16.42.1 *.

172.16.42.1 *

to the spoof list (all three because I didn't know which one redirects everything)

&lt;html&gt;
&lt;title&gt; whatever &lt;/title&gt;
&lt;head&gt;&lt;/head&gt;
&lt;body&gt;
&lt;h1 size="36"&gt; Hi :) the site you are trying to visit no longer exists, but he's a video instead, sorry for the inconvenience. &lt;/h1&gt;
&lt;p&gt;&lt;img src="http://i0.kym-cdn.com/photos/images/original/000/096/044/trollface.jpg?1296494117"/&gt;
&lt;/p&gt;
&lt;iframe width="420" height="315" src="http://www.youtube.com/embed/oHg5SJYRHA0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;
&lt;/body&gt;
&lt;/html&gt;

I didn't want to upload any pictures to the pinapple for space reasons, make sure you have image directory's correct, or webpage links correct, your code is looking for image.png on the root folder, make sure you specify the correct path. Hope my code helps.

Soka, does the above code mean that you did not upload any data into the Pineapple? I think I like this method more if so.

Link to comment
Share on other sites

yup, just used an direct image location from some site wherever (found on google images) and embeded a youtube Iframe for the video i wanted. then just wrote the page. copy the code into a notepad txt file and save it as whatever.html and view it in your browser if you want to play with it.

Link to comment
Share on other sites

It sounds like everyone else who's using images is linking to existing sites rather than hosting it directly on the device. Space acutally shouldn't be a problem (and isn't in this case) as I imagine it should be possible to fit small files in the /www/ folder (as I did) or link to an external USB device (which I have used). The thing that I found odd is that whether I place my image in the same location as the html file and simply reference it without specifying a path (like url=image.jpg) or leave it on the USB drive and reference it using a full path, it just doesn't show on the page. My end goal is to have a stand-alone device that does not require a 3g connection or tethered laptop from which I can host specific sites for redirect. Sounds like at this point no one else has tried this with the v4. Some of the earlier hak5 tutorials showed how to do this with earlier versions from downloading existing webpages to capturing the posts.

yup, just used an direct image location from some site wherever (found on google images) and embeded a youtube Iframe for the video i wanted. then just wrote the page. copy the code into a notepad txt file and save it as whatever.html and view it in your browser if you want to play with it.

Link to comment
Share on other sites

It sounds like everyone else who's using images is linking to existing sites rather than hosting it directly on the device. Space acutally shouldn't be a problem (and isn't in this case) as I imagine it should be possible to fit small files in the /www/ folder (as I did) or link to an external USB device (which I have used). The thing that I found odd is that whether I place my image in the same location as the html file and simply reference it without specifying a path (like url=image.jpg) or leave it on the USB drive and reference it using a full path, it just doesn't show on the page. My end goal is to have a stand-alone device that does not require a 3g connection or tethered laptop from which I can host specific sites for redirect. Sounds like at this point no one else has tried this with the v4. Some of the earlier hak5 tutorials showed how to do this with earlier versions from downloading existing webpages to capturing the posts.

The NYAN cat works on the IV. It's hosted on my /www folder. I'll play around with it tonight when I get home to see if I can swap out the gif for a jpeg.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...