Community > Posts By > Mirage4279

 
Mirage4279's photo
Fri 06/22/12 08:01 PM
Hacking 101...

If you look at the top of your web-browser in the text field you will see this string...

http://mingle2.com/topic/show/326721?page=1

Protcol: HTTP
Domain: mingle.com
File: /topic/show/326721?page=1
Query: page=1


I wll run it through my editor and compile it...


here goes...


public class MingleHacking101
{

public static void main(String[] args)
{
PrintStream out = System.out;
try
{
URL hackMingle2 = new URL("http://mingle2.com/topic/reply/326721?page=1");
out.println("Protocol: "+hackMingle2.getProtocol());
out.println("File: "+hackMingle2.getFile());
out.println("Authority: "+hackMingle2.getAuthority());
out.println("Ref: "+hackMingle2.getRef());
out.println("Query: "+hackMingle2.getQuery());
out.println("Path: "+hackMingle2.getPath());

}
catch(Exception e)
{

}
}

}





Output Below........................




Protocol: http
File: /topic/reply/326721?page=1
Authority: mingle2.com
Ref: null
Query: page=1
Path: /topic/reply/326721
BUILD SUCCESSFUL (total time: 13 seconds)

See I was exactly right!!!!!!!!!


Mirage4279's photo
Fri 06/22/12 07:35 PM
In all likelehood I can prolly pull files that many could not if I really sat down and worked at it... I am not sure that that is hacking or not.... that is building url strings with a query and possible user info if i was able to obtain it..e.g. via interecepting a transmission or somethihng like that..but right now it is not quite in my scope... I am learninhg stream sockets at the moment...

you have to know how to build a request (prolly a url object)...often the server may give you this info if you ask for it the right way.... if you try to just grab it it will give a 403 Forbidden server error

Mirage4279's photo
Fri 06/22/12 06:30 PM

It would be nice to find a free GUI builder for c/c++. :(



Ummmm have you ever gone to the microsoft web-site and downlaoded their editor before???

That should have one on it...I remember it was in like chapter one of my text-book for creating frames without typing out the code...

Not the easiest program to use if you do not know how to do it though if I remeber right...

Mirage4279's photo
Fri 06/22/12 06:10 PM
Edited by Mirage4279 on Fri 06/22/12 06:23 PM


I could copy and paste code that would run like a f&*^%* ing top on any server right here in the forums.

True Java does run slowly in comparison to toher languages..if you time it in ways that are not noticable by humans...

If you are slightly more ingenuitive then the average bear you can use native methods (execute code written in other languages). For examp[le pointers in C/C++ can reduce overhead operations of iterating through data to replace Java's Vector, ArrayList or array to speed up data processing...

What you said is incorrect...Java's strong point is Networking capabilities and was the reason it was written...I can (and have) turned my laptop into a server...it is super easy...do it all the time..

Mirage4279's photo
Fri 06/22/12 06:07 PM

I'm going back to C/C++. I'm not liking MASM.


I agree with you

Mirage4279's photo
Fri 06/22/12 05:54 PM
Edited by Mirage4279 on Fri 06/22/12 06:04 PM
iI admit I do not know PHP at all and very well may be written in it... Let me point something out to you

Code..

<a href="/user/view/277916">totage</a><br />
<a href="/user/view/277916"><img src="http://static1.mingle2.com/images/users/55/57/277916_8130_thumb.jpg" height="100" width="100" class="user_thumbnail" alt="totage's photo" /></a>
<br />
Joined Sat 10/13/07
<br />
Posts: <b><a href="/forum/show_posts_by_user/277916">21535</a></b>
<br />


This anchor tag
<a href="/user/view/277916">totage</a><------has 'totage' written as though it was written by hand..unless someone is sitting there typing it out as we post it was writtne by a program....

true PHP might be able to do this ... I do not know

It is much easier to write a server program (I do it in Java every now and then) that writes a fresh html file with every new post and sets the counter variables such as number of posts number with each new post. Kepping an account object on file on a database. PHP is used for persistent data... But I could easily write a server program in Java that would do the same thing.


I am guessing it is written in on a server application in a regular programming language....

Any bets?????

<title>Programmers Unite! - Free Chat, Dating Forums - Mingle2.com</title>


Again look at the title -->Programmers Unite! - Free Chat, Dating Forums - Mingle2.com

between the opening and closing tags..
it is as though it is written in hand..being that PHP can manage data on permenant storage there is a good chance that it is PHP...

However, I just looked at the head and it is written in xhtml with a strict document type definition and is no different from xhtml files that I write all the time...

See...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">






I am going with server app in a regular language on this one...

Mirage4279's photo
Fri 06/22/12 06:04 AM
Not too familiar with it to tell you to be pertly honest

Mirage4279's photo
Fri 06/22/12 01:33 AM
Tyhe file your talking about is a file that your system needs in order to function properly. Keyword sther eare system , .sys file extension and 32 all words contained on a system file that you may not want to mess with..

Outside of that a system restore or re-install will most likely work for corrupted files if you still have a recovery or install disk...

Mirage4279's photo
Fri 06/22/12 01:18 AM
I use the NetBeans it is awesome for HTML, Java Applications and a slew of other things such as C/C++. Everyone talks about Notepad++ and Eclipse I honeslty just do not see it.

The Dreamweaver is super easy to use but I am so used to typing it out it would mess me up at this point.. I even code my own x and y coords by hand in the area tags (this is so cryptic half of the w3c does not even know what I am talking about).

Have you ever looked at the source for Mingle2 before??? You can tell that a server application codes the text for the html file unless they have someone sitting there typing our screen names out between the tags. I figured this out by trying to hack them...

In between 403 Forbidden's from the server looking for Cher's and Jaded's nudes I looked closely and thought what a great idea to have a server app. that writes text onto an html file... ANy thoughts on this?


Mirage4279's photo
Fri 06/22/12 12:49 AM
I would recomend C/C++ for a couple different reasons. I program in Java ande much of Java is written in native code (which is presumably C/C++ most of the time native code is mentioned it certain contexts)

C/C++ can preform functions that use pointers to to refrence locations of memory direclty instead of data stuructures such as Vector, ArrayList and array classes that Java uses. Not to say Java is not good enough to write an OS it is and I do believe it is out there as a matter of fact. But in Java we use native methods to create solutions such as refrencing memory directly using a pointer to reduce overhead operations. needles to say you probably have an easier time communicating with the hard ware directly such as in the kernal layer of the OS or the hardware abstraction layer (HAL) using a native language such as C/C++ although something such as VB .NET may be just as good or better than C/C++...I do not know.

Mirage4279's photo
Thu 06/14/12 10:16 PM
make it three hots Jaded

Mirage4279's photo
Thu 06/14/12 04:22 PM
offtopic


rofl

Mirage4279's photo
Thu 06/14/12 04:19 PM

good damn not bad damn


I figured that.. just wanderng why you said it..

Mirage4279's photo
Thu 06/14/12 04:13 PM
what

Mirage4279's photo
Thu 06/14/12 04:10 PM
Hotter then ever

Mirage4279's photo
Thu 06/14/12 04:07 PM

:) howdy guys! I can see I'm a dummy here. I just started learning programming languages last here. I've done html, css, javascript(just the basic), sql, c, now I'm on c++(I'm on my advanced c++)... :P then I'll pursue with java, visual basic and later php, perl, .net, python and some mobile apk(for Android). ;) I used to work with notepad++ (most of the time for html and javascript), with visual studio, Qt, dream waver.. but I have some other app for my future work. if one day I got a problem, I know I will get the answer from one of you.. bye :B ;).


You have a full schedule...


Java and C++ especially going into mobile apps.. which requires a knowledge of graphics programming and most likely networkig and persisten data (program memory) is a very very tall order (recomend school if you really want to do that).. would take a year or so if you studied daily... and that is kind of quick... best case scenario

Java and C++ are tough to learn.. very complex languages...

JavaScript and HTML are easier to know what you need to know ( I program in both ) in order to get hired... you could learn these in less then a year...

If you have any questions lemme know (HTML, XHTML, CSS, JavaScript's , Java and a little C++)

Mirage4279's photo
Wed 06/13/12 10:52 PM

Hot


Hey Cher!!!!tongue2


And Paul I am guessing hot

Mirage4279's photo
Mon 06/11/12 08:34 AM
two hots out of that one...steamy today jaded...

Mirage4279's photo
Mon 06/11/12 07:17 AM
hot

Mirage4279's photo
Mon 06/11/12 12:08 AM
cute