Thread: java questions

  1. #1
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638

    java questions

    What does this do?

    LINK="#number" VLINK="#number" ALINK="#number" onload="top.window.location=('http://signups.website.com/hit.php?w=number&s=number&p=number')

    link? vlink? alink? in java? for security reasons i changed the numbers to the word number. and the website.

    What does this do?

    <a href="http://www.microsoft.com/ContentRedirect.asp?prd=iis&sbp=&pver=5.0&pid=&ID= 404&cat=web&os=&over=&hrd=&Optnumber=&Optnumber=&O ptnumber=" target="_blank">Microsoft Support</a>

    brings up a redirect.asp page from microandsoft? why?

    What does this do?

    <form method=POST action=/folder/filecgi.exe>

    This slips a prog on to your computer? or post your data to their computer?

    What does this do?


    <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns="urn:schemas-microsoft-comfficeffice" xmlns="http://www

    Does this bring up a template from microandsoft and summit it to the xmlns website?

    What does this do?

    { behavior: url(#default#VML) }





    what should i be looking for to find out how i got hijacked? a redirect type page? a form that posts and loads a file on this computer? links with numbers? asp pages with question marks then equals ?


    tia

    -kk

  2. #2
    C(++)(#)
    Join Date
    Jul 2004
    Posts
    309
    [code] LINK="#number" VLINK="#number" ALINK="#number"[/quote]Link# = the color of a non-visited link.
    VLink# I believe is the color of a link you just clicked on
    ALink# I believe is the color of a link after you have visited it.

    Also the first stuff you posted was Javascript I bet, and not Java.
    Code:
    <form method=POST action=/folder/filecgi.exe>
    I would assume it means the filecgi.exe file is launched when you do whatever you need to do when you complete the form.

    Code:
    <a href="http://www.microsoft.com/ContentRedirect.asp?prd=iis&sbp=&pver=5.0&pid=&ID=404&cat=web&os=&over=&hrd=&Optnumber=&Optnumber=&Optnumber=" target="_blank">Microsoft Support</a>
    That redirects you to a page based upon the variables listed in the URL I presume.


    Code:
    <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns="urn:schemas-microsoft-comfficeffice" xmlns="http://www
    Looks like an XML template, but I'm not sure.

    Code:
     { behavior: url(#default#VML) }
    Couldn't tell you; possibly Javascript or CSS?

    Feel free to correct me if I'm wrong on any of this. I don't think too much of that is at all dangerous. Possible the form one, but I think that only launches the program on the server side.
    To code is divine

  3. #3
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638
    thank you

    they were all taken from suspect webpages.

  4. #4
    Registered User
    Join Date
    Jun 2004
    Posts
    722
    Quote Originally Posted by kryptkat
    What does this do?
    LINK="#number" VLINK="#number" ALINK="#number" onload="top.window.location=('http://signups.website.com/hit.php?w=number&s=number&p=number')

    link? vlink? alink? in java? for security reasons i changed the numbers to the word number. and the website.
    link is the color for not visited links
    vlink is the color for visited links
    alink is the color for clicks in which you click
    onload redirects the current page to that url after loading completes

    Quote Originally Posted by kryptkat
    <a href="http://www.microsoft.com/ContentRedirect.asp?prd=iis&sbp=&pver=5.0&pid=&ID= 404&cat=web&os=&over=&hrd=&Optnumber=&Optnumber=&O ptnumber=" target="_blank">Microsoft Support</a>

    brings up a redirect.asp page from microandsoft? why?
    that a simple link like this one, which opens in a new window

    Quote Originally Posted by kryptkat
    <form method=POST action=/folder/filecgi.exe>
    This slips a prog on to your computer? or post your data to their computer?
    It declares a region in a html document which will have lots of input filed (listboxs, textares input files...) including a submit button (or not). After pressing the submit button the data inside the form willl be sent to the server. post means that data is invisible to the user when sending. There's also get, in which all data is appended to the url. and example of a form like that one it the 'new thread' or 'reply to thread' forms here on this forum.

    Quote Originally Posted by kryptkat
    <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns="urn:schemas-microsoft-comfficeffice" xmlns="http://www

    Does this bring up a template from microandsoft and summit it to the xmlns website?
    <html> is the starting tag of any html document, after the right DOCTYPE.
    the standard defines this
    <html xmlns="http://www.w3.org/1999/xhtml">
    go to the url http://www.w3.org/1999/xhtml and check it out

    it nothing more than a namespace where html/xhtml document type declaration can be found

    I'd advise some serious reading
    http://www.w3schools.com/
    http://www.w3schools.com/tags/tag_html.asp

    nothing in that code is harmfulll, nor will html ever be.
    I'd be very stupid if the html standard defined tags for
    Code:
    <download_malicious_file_and_install_crap> 
    <crash_browser>


    Quote Originally Posted by kryptkat
    What does this do?

    { behavior: url(#default#VML) }
    it's IE specific coding, for support with vml.. some strange stuff, which is harmless

    Quote Originally Posted by kryptkat
    what should i be looking for to find out how i got hijacked? a redirect type page? a form that posts and loads a file on this computer? links with numbers? asp pages with question marks then equals ?
    mostly javascript and mostly ActiveX controls, which are javascript managed to. and javascript browser sniffing.
    90% of webmasters are too dumb to make standard compliant web pages, so they sniff for browsers to send browser specific code, which only does crap
    Last edited by xErath; 07-01-2005 at 05:07 PM.

  5. #5
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638
    Thank you for the web site w3. basic html tags some of it i know. i did not know what to look up css java html javascript. that makes more sense now. some of it i had an idea what it did but was not sure. been reading.

  6. #6
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    I second xErath. he was right on every one of those. a 'browser hijacking' is nothing to worry about. all it was was some line of code that chaned your homepage. they got no other information unless they left a cookie, then they might be able to track where you go when you're online. I suggest you just get some kind of spyware scanner like spybot S&D or ad aware. the best way to go would be to get both and use them both.
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  7. #7
    Registered User
    Join Date
    Jun 2004
    Posts
    722
    Quote Originally Posted by major_small
    I second xErath. he was right on every one of those. a 'browser hijacking' is nothing to worry about. all it was was some line of code that chaned your homepage. they got no other information unless they left a cookie, then they might be able to track where you go when you're online. I suggest you just get some kind of spyware scanner like spybot S&D or ad aware. the best way to go would be to get both and use them both.
    Or use an alternative browser like Opera (my serious advise) or Firefox (with interface much like IE). Opera currently is the single browser with no know security problems. And it has lots of usefull discret features.
    http://secunia.com/product/4932/
    http://secunia.com/product/4227/

  8. #8
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    I was going to say that, but didn't want to start a flame war... but firefox is better :P

    opera will have it's security problems eventually... I'm not surprised that a browser with less than 2% of the market hasn't had any problems yet... as opposed to firefox, which has over a quarter of the market under it's belt, making it the second most popular browser under IE6
    Last edited by major_small; 07-03-2005 at 06:40 PM.
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A very long list of questions... maybe to long...
    By Ravens'sWrath in forum C Programming
    Replies: 16
    Last Post: 05-16-2007, 05:36 AM
  2. Lots of questions
    By belhifet in forum C# Programming
    Replies: 5
    Last Post: 12-20-2006, 07:39 PM
  3. C#, Java, C++
    By incognito in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 10-05-2004, 02:06 PM
  4. The Java language is being expanded
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 26
    Last Post: 06-11-2004, 09:07 PM
  5. Java woes
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 07-06-2003, 12:37 AM