sábado, maio 17, 2008
the "1001 reasons" why assembly rocks
http://burks.bton.ac.uk/burks/language/asm/artofasm/fwd/fwd.htm
Don't say assembly is bad or the man will hit you with a stick of well supported ideas.
I admit it.. I don't like it just because it's against my HLL style of direct reason and write. Matters of efficiency most times go beyond my knowledge.
I'd still say that you cannot have elite every where. simply because then you'd not have enough programmers to do all that is needed. Sometimes you need to do things that work now, not things that will work perfectly tomorrow.
As Einstein once said: "things should be made simple, but not simpler."
terça-feira, abril 22, 2008
form posts and scripts
Well well well ... all nice for get's, even authenticated gets. But how about form posts?
There's always the trouble of Referer. I guess If they want, they can shut me down by now. Damn mindless testing. I've left a trail. If they keep track of referer on requests, it's not even that uncommon, then they can get my script request -_- . I've checked it with wireshark. :S I even tried to modify it by using an XMLHTTPRequest object, but... If I had conveniently read the documentation I'd know in advance some headers can't be modified by reasons of security.... I can see why! =P
So I had to find a way to circle around it. And of course as always, I did. Lol see, the idea is that I needed on the fly modification of a form. To do that, I'd need a script to modify the source of a loaded page for me. Wow! Now that's spooky! But possible! Hihihi The name is GreaseMonkey. And there's even a hole gigantic script built for travian, called travian beyond that you can install. There are no limits to what you can do. With some trouble... the game plays it self. Of course... that takes all the fun out of it. I've proven that I can do it... now, I leave it aside and cut the too much to leave a little help only. =P
So far the application works pretty much as a human would operate on a browser, and asides from the fact that it never sleeps more than 20 minutes. It's untraceable!
The trick is the following:
The server can never know if a human or a script did it, because all it gets it's HTTP / TCP packets. If all is filled out correctly, then... bye bye intuition.
God I love machines and it's layered organization. I had never seen a breach in this model until this very moment. It's like completely separate universes communicating by laser beams. You can shake one of them, break it apart but has long has you keep the beams alive and right... no other universe knows you did.
Abstraction... abstraction...
I'm sleeping happier tonight. ;)
ohhh another curiosity. Imagine the following: some document, has anchors, and these anchors have actionscript calls for onclick. How do you make that code execute without using the mouse?
Reasoning:
Here's the function signature: function onclick(Event);
it's still a function... just another function that happens to be called when a mouseEvent occurs. Now if inside it's body it never uses the mouseEvent, can it tell whether it was called by a mouseEvent or some other thing? I have not checked.. but even if it did, I guess you could always instanciate a mouseEvent, but like this you don't even need it. Null is has valid has an object argument has any instance of an object. So if I do:
var anchors = document.getElementsByTagName("a");
for( i=0; i less Than anchors .length ; increase i )
if( anchors dot onclick diferent from null )
anchors[i] dot onclick (null) ;
I can force execution of all anchor onclicks.
Happy codings ;)
terça-feira, abril 15, 2008
flush String with source from external URL in to Java
If I somehow exported the connection problem outside of the browser window... I'd have an authentication problem. So the best way would be to run it somehow using javascript, there's a Dom object capable of doing HTTPRequests and it's called XMLHTTPRequest. There are several details to take care when using this code. One must set browser to allow connection to remote servers from client pages. So there's a cost in security to achieve this goal. Furthermore I couldn't find a way to configure firefox to lower it's security params so it won't run on it yet.
By now I'm still hocked up to the idea of an Applet to manage flow control, and other heavy weight operations, Though my initial idea of processing the source as a raw string has fallen in the pit of plain stupidity. XMLHTTPRequest returns a DOMDocument which can be manipulated with all the charms of the DOM model, and will certainly be better than any code I could write in 3 life times.
So in conclusion I guess I can sleep better tonight :P
If you're trying to do the same for some reason, the way you'd get a raw String with the source to be inputed in to Java would be to declare an Applet on the page containing the script with the XMLHTTPRequest Object so you can call functions who manipulate it from java using the netscape.javascript package. Furthermore XMLHTTPRequest contains a DOMString propertie which can be cast to String no questions asked, leaving us with a happy:
a) (String)window.call(“getSource”,null).
//- ------------------------------- JS
var client = new XMLHttpRequest();
var source;
function init()
{
if (window.xmlhttprequest) { request = new XMLHTTPrequest();}
else if (window.ActiveXObject) {
try {
request = new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e){
try{
request = new ActiveXObject("Microsoft.XMLHTTP");
}
catch (e){}
}
}
}
function handler( ) {
try{
if(this.readyState == 4 && this.status == 200) {
// so far so good
if(this.responseXML != null)
{ } // success! do nothing}
else{ }
}
else if (this.readyState == 4 && this.status != 200) { // fetched the wrong page or network error...
alert("ups check your glasses, wrong URL?");
}
}catch(e){alert("error on handler" +e );}
}
function fetchSource()
{
//wait for client to be ready =P
if(client.readyState!=4) return null;
return client.responseText;
}
function fetchURL(url){
//alert("fetchy is here!! cuxi cuxi ");
try{
client.onreadystatechange = handler;
client.open("GET", url,true);
client.send();
}
catch(e){alert("error on fetchSource:" + e);}
}
// -------------------------------- APPLET CODE
public static String getURLSource(String url)
{
if(window == null){System.out.println("window is null"); return null;}
try {
window.call("fetchURL",new Object[] {url});
Thread.sleep(2000);//give the server time to respond with source
return (String)window.call("fetchSource", null);
}
catch(Exception e){
System.out.println("GET URL CRACHED!!!");
return null;
}
}
//don't forget to start window :
public void init()
{
try {
Travian.window = netscape.javascript.JSObject.getWindow(this);
Travian.location = (JSObject)Travian.window.getMember("location");
}catch(Exception e ){System.out.println("init can't start JSObject");}
}
// -----------------------------------------------------------------------
happy coddings!
segunda-feira, abril 14, 2008
Breaking my head against the Travian wall
Figuring out how it works:
Travian is build on a mix of php, JS & HTML. The big issue being php, because it's executed server side! Client sends a request. Server reply s with html page. I can't read it, can't access it and the only way I could glimpse it's workarounds would be by monitoring variables being passed to it along with every different call made to the server. Now besides not being the easiest task... it never will grant that I can figure params for hidden evolutions. Because it's not a static game. So I'd only be able to implement a scalable application once I reached the end... and well the hole purpose is to build something that will help me do that. So that made me quit the hole hack trough php idea. The objective is to build an application capable of monitoring action just like any human user would do by reading the page, not modifying it.
So that takes us to the next step. Ok.. I can recognize anchors with a scanner algorithm just as easily as I can with my eyes.... so I'll just have to find a way to process the source. All joyful stupid H. wandered around the house jumping and smoking cigarrets while planning the best way to do it. What language am I using? Am I going to go object oriented and define identities so I can delegate tasks and therefore better organize the application? How about GUI? I don't feel like spending hour costuming it! Javascript? It's cool I can generate tables through DOM and it offers anchors that I can customize by just copying the URLS from the source, I don't even have to worry about logging in as long as I grant that I'm opening the admin window on the the same browser window of the game. Java? Java has a bunch of cool classes for manipulating strings, the own String class, with it's contains and substrings gymnastics and Scanner and Tokenizer. Besides a comfortable Thread manipulation and Timer's... Hum... why don't I mix it all.. I just need a bridge between Java and Javascript so I can pass information around. Well.. I found the bridge, it's a package from netscape and it comes with the plugins jar, somewhere in your JRE. There's not much to know about it, it raps the JS object on a JSObject and sends it to java, while unraping it when it's send back to javascript. Furthermore it's very intuitive, you can even cast it directly to string if it's a text object like in document.body.innerHTML. All very cozy and comfortable. I wrote a window with a bunch of frames, drawn the hole communication and generalist aspects of the application. And I thought ok... now I just need to input the source from the site. And here the trouble started!! You can very easily view any source from any URL with a simple access to: window.document.body.innerHTML but if the URL is out side your “server” then the window becomes a fucking cocoon. You can't access document.body, therefore you can't read the source no fucking way without some other workaround external to plain JS. This is very plain simple conclusion but I lost hours!!! t'ill I realized there was no possible workaround for this. I tried to workaround it in a milion ways, by testing if it had anything to do with a particular propertie, going from window, from frame, from context, getting the calls made by different window object and even tried to schedule a call to an echo function by changing window.onload = setTimeout(“alert(window.document.body.html);”,1000); to make it seem like the window which contained the external URL was asking for this, but couldn't ;P
So now basically I'm stuck at a stupid fetch sorce. I can understand that I can't write to the document. But read it... I call this stupid security! Now to something so simple I'm gonna have to just flush the source right in to Java. Using some sort of bridge to HTTP. I smell servlets. But I know nothing 'bout that.... YET!!! hihihi So...
Don't miss the next chapter 'cause I certainly won't.
God what a bad joke!! LOL
I have two tests tomorrow and an assignment presentation at 11h30 AM. Need sleep.
helga@body: shutdown -h now
domingo, abril 06, 2008
travian
function T_Load(url,id)
{
g=false;
if(window.XMLHttpRequest)
{
g=new XMLHttpRequest();
if(g.overrideMimeType)
{
g.overrideMimeType('text/xml');
}
}
else if(window.ActiveXObject)
{
try
{
g=new ActiveXObject("Msxml2.XMLHTTP");
}
catch(e)
{
try
{
g=new ActiveXObject("Microsoft.XMLHTTP");
}
catch(e){}
}
}
if(!g)
{
alert('Can not create XMLHTTP-instance');
return false;
}
g.onreadystatechange=function(){al(id);};
g.open('GET',url,true);
g.send(null);
};
What's so funny in it, is the use of variable g. Which starts as boolean and ends up as an object. This could only be allowed in a language like javascript. And why? Well there's no type declaration, it's optional to do that. Now just how does it reach binary? How can you tell the size? Are they all the same size like in java? Javascript wonders!
Now the reason why I'm reading this:
This travian thing, it's a game. An online, strategy game. Make a village, get an army, attack neighbors kind of thing. But it's real time, things take for ever to evolve. I'd just love to leave some actions recorded to be done in the future. I imagine this would add considerable volume of data in to the server... not to mention that it could be programed so that my soldiers would leave the village and go visit some looser player that can't possibly have an army, while bringing back some resources anytime an attack is coming in. And then again there is the incentive of the “in control” feeling. I just can't bear the infinite number of tabs open one to each field (resources, village, future victims of attacks). I want a frame that lists previous attacks with distance to my village and resources taken, I want to know how long before I have resources to evolve something, I want to be able to put on an “agenda” any build, attack, market action I feel like so I can have my life back. LOL I mean.. I got other things to do!
quarta-feira, abril 02, 2008
3 ethernet cards , 2 computers , 1 internet conection
Here's a simple problem. 2 computers, 3 Ethernet cards 2 ethernet cables, 1 modem => 1 ISP connection. Objective share Internet connection between two computers. Should be a simple task.
If you're looking for a solution and out of patience just press ctrl+f and type in solution: lol
Now windows was suppose to be your friend. You say: hey I would love to set up a network. This computer connects to the Internet, or this computer connects to a network that somewhere has a computer that connects to the Internet. This would be logical, I send a packet outside of my network and it should find it's way to the gateway (the gate that guards the entrance to my little world) and there it should ask who ever knows and send it to where it's meant to go.
Problems:
I shall call primary to the computer that directly connects to the Internet and secondary to the computer we want to connect to primary so it can also access the internet. It's a wired network! At the very beginning it's like having to separate pipes. One pipe goes from primary to secondary, the other pipe goes from primary to the ISP. So without some trick it's like trying to flush my toilet in some chink bathroom in the other end of the world. There is no connection! The packets can reach the gateway, but they can't get out of it because no one inside the intranet knows where to look for the address. The card from intranet does not know where the card to the Internet is. Thought our friend windows should know!
I hate windows to the gut because windows help files never tell you anything, it's like trying to learn nutrition from a recipe book. Nothing against it when it works but it makes me real mad when it doesn't, it gives me that feeling that you get when you're a little kid trying to open that new toy you got in Xmas with your nails. Someone get the kid a screwdriver!
Well the missing part of the puzzle is bridge! As the name foresees it's something that “connects” the two cards together so they can act as a single connection.
Solution:
I found this at: http://forums.techguy.org/windows-vista/579886-ics-vista-host-xp-client-4.html
posted by: vasudevan84 , I also added some comments because the post sometimes seemed confusing or I really should be sleeping by now or something ;P
okie people..
Hi Guys Try this...
First RUN services.msc on your Vista Machine.
Start Two services.
1. Internet Connection Sharing
//I had trouble here... Vista was telling me It could not enable it 'cause it was not being used
// if so come back to enable it once you've created the bridge
2. Windows Firewall.
now go to Control Panel\Network and Sharing Center\Manage Connection(Left Side Options)
u should see Two connection(i'll rename then to HOME for Local Network and INTERNET for obviously Internet Access) and probably a Bridged Network(if u made one)
1. Now Configure INTERNET(with the IP addresses (TCP/IPv4)For your Internet Access)
//It was only a while ago that I learn how to edit this so... assuming you may be in trouble too
//go to INTERNET properties and then double click on TCP/IPv4 to edit
//most ISPs will want you to get you're IP over dhcp so if in doubt set it to be automatic
2. Set HOME to Auto Config (TCP/IPv4)
3. Select the two Connection now and Right Click\Bridge Connections.
4. Open the Network Bridge options\ UNCHECK the connection INTERNET from there.
5.Make sure the (TCP/IPv4) settings in the NETWORK BRIDGE are set to Auto Config...
6.Now go back to the INTERNET\Sharing TAB\Check option Allow Other Network users to connect through this computers Internet Connection and optionally the second one.
Thats all folks we are done.
PS. Make sure the Connection on XP machine is set to Auto Config again.
This give you File sharing and Inter Connection on Both Vista and XP machine now. BUT the catch is your IP address on XP machine would be dynamic...
Okie the Point is ENABLE the two services on the VISTA machine, bridge the two connection but uncheck the Internet Connetion from the bridge and then share it.
//of course the secondary can be running any Operating System providing dhcp, if on Slackware run
//myName@host: dhclient eth0
Enjoy surfing using your brain and saving 30 euros on a hub.
Nhaaa “Buy a hub!!! buy a hub!!! It so much easier... nha nha nha.“ Ohhh god save them from their stupidity!
Well have been Grumpy lately. ;P
quarta-feira, março 19, 2008
if(true && false)
if (true && false) {
//configuration variables
hbx.acct='DM570919C1BC';//abtest account number
//segments and funnels?
hbx.seg=getViewerSegment();//visitor segmentation
hbx.hc3 = "sample_B";
"document.write('\ script language="javascript1.1" src="http://www.hi5.com/friend/js/wss/hbx.js" " <\/script>'); 've seen a couple of strange things, but never something like this.
}
now first reasoning: this is alien logics and that "if" can run on terms I cannot understand.
Second reasoning: it's a dynamically generated page (script included) and somehow variables determined that those parameters should be written separatly... so they ended up being whatever and that whatever is impossible. now this would make some sense... not all the sense because if that is the case why not use the same variables to omit the whole bit of code?
question: is there a way to record this and resend it in my terms? now to do that I'd have to make an app capable of doing my own packets, one of the problems that jumps right in to the eye and fires frustration is Referer. Even If I change the source and then try to load it, the browser will try to find the files on my computer... unless...
ohh well.. no time, no knowledge.
segunda-feira, março 10, 2008
network darkness
Anaïs Nin once said: “we don't see things as they are, we see things as we are.”
So the question i pose to you is: how do you look at the Internet? Are you an optimistic supporter or a paranoid avoider?
If you have a blog, a myspace, a photolog, a hi5 profile you are exposed. And people want to be exposed, they want to be fashionable, pretty... known! But all this applause upon the self comes with a price. Where's your privacy? Never the menace “the hole world is going to know you slept with A or B” has been so true. All C as to do is write it online. You can ask: has D ever slept with A or B? How reliable is the information? You can be reading a page written by a florist hobbyist that truly believes TCP/IP is a form manure... only God knows what kind of rubble can be found. But people are working frenetically to try to stop YOU from giving THEM false data. This line of work is know as data mining, and you can see it running on most online forms you fill. Ohh mister your name (say for instance “A.”) is too small. Hey your e-mail address (ex. stop_nagging_me_with_this_bullshit_I_don't_want_your_newsletter) is in an incorrect format. Etc. This would be wonderful if it could ever replace good judgment and conscientious reading, but unfortunately most data verification is done using databases, and you cannot nor will ever can build a database for right ideas. Human beings will have to keep using their external references to decide whether something is true or not. ex. If there's a IEEE page saying a new technology will be implemented you expect it to be reliable, as opposed to reading the same info on john doe's blog that you cannot cross reference with anything in a Google search on the matter.
So.. out of the fog Jesus came walking over the water... ups wrong script.
Hum... hum... all this conversation because I stumbled upon this paragraph:
“Another key topic is government versus citizen. The FBI has installed a system at many
Internet service providers to snoop on all incoming and outgoing e-mail for nuggets of interest
to it (Blaze and Bellovin, 2000; Sobel, 2001; and Zacks, 2001). The system was originally
called Carnivore but bad publicity caused it to be renamed to the more innocent-sounding
DCS1000. But its goal is still to spy on millions of people in the hope of finding information
about illegal activities. Unfortunately, the Fourth Amendment to the U.S. Constitution prohibits
government searches without a search warrant. Whether these 54 words, written in the 18th
century, still carry any weight in the 21st century is a matter that may keep the courts busy
until the 22nd century.”
Andrew S. Tanenbaum - Computer Networks
The government needs a warrant? How about with the new anti-terrorism law? If this software exists then any pimple filled teenager with a nice brain and poor social skills can be reading my e-mail, and tracking my Internet activities. Point being: does this make me comfortable? Not really. Would I ever stop surfing or publishing stuff because of this? Not in a million years!
The important part is to keep everyone informed of the danger involved in Internet communications, how to keep their sensitive data secure (as secure as possible... if it's streaming... its crackable... leave the “lived happy ever after” for Disney movies). So we can all live joyfully in the matrix.
Muahaahahaha
sexta-feira, fevereiro 15, 2008
Vista Up and running
With some gymnastics current Desktop has 3 installed Os (Win XP, Win Vista , Linux Slackware). Of course all made possible by lilo magic and two physical disks split up in a total of (4+2=6) partitions.
SDA(250GB)
sda1 - Windows XP (ntfs)
sda2 – Linux Swap
sda3- Linux Slackware(ext2 )
sda4- Files (Fat32 so I can write on it from linux as well)
HDB(80GB)
hdb1 – Windows Vista
hdb2 – Another FAT32 file partition
It's soon to say, but I'm tempted to mark this as the end of my Microsoft allergy.
Or not... :P still think of it as an OA (as in Open Ass). Not that it's particularly more insecure than linux by default. The question is, I believe, that being vulgar... it's a more apealing target to work on.
terça-feira, fevereiro 05, 2008
Geting just about any music you want
So... by accident while trying to read some tuts on wireshark, I just stumbled on another you tube magical video.
now this is about video files... but hey, potatoes and tomatoes it's all vegetables. Same to any stream. The guy suggests looking for the file, but my blind eyes and rather hazy mind suggest using ctrl+f , then select string and type your keyword like “mp3” or something like that. And voyla. Host and get bla blabla magic. Concatenate and paste on location in your favorite browser.
In conclusion I must say that I am not in favor of “stealing” everything. Point being that I couldn't have it otherwise. Is it that wrong? I couldn't buy it, I'd buy it if I could! There's no money taken.
Support your favorite artists, more money for them means more music for you do enjoy.
sábado, dezembro 22, 2007
magazine
Just found this, though of sharing
http://www.intellectbooks.com/magazine/
sudoers
I just noticed today that I always open the same programs when I start the computer. So I though... why the hell am I doing the same commands when I can just code some shell script to do it for me?
And that's what I did.
Now I came across a little problem. I have several partitions on a sata disk, and an IDE disk working in this system...
And slackware recognizes them and mounts them as told by /etc/fstab. I like this, and do not want to change it, because it's comfortable when I just need to read and not write info to those partitions....
In case the house is on fire and I need to transfer some files to a removable media... you never know, I'm the Murphy's laws in flesh...
############################################################################
# Configuring the sudoers file #
############################################################################
So on to it, we want to use root commands so we'll need special permissions. Such may easily be achieved using:
myUserName@hostName:~$ sudo myUsuallyRootCommand
But in order to use this we must specify the current user has an authorized user for the myUsuallyRootCommand.
We do this by editing: /etc/sudoers file.
So grab your konsole and log as root to edit /etc/sudoers.
root@hostName:~$ kwrite /etc/sudoers &
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# bunch of bla bla bla in here...
# Samples
%users ALL=NOPASSWD: /bin/mount /cdrom,/bin/umount /cdrom, /bin/mount /dev/mysatapartition, /bin/umount /dev/mysatapartition, /bin/mount /dev/myIDEpartition, /bin/umount /dev/myIDEpartition
%users ALL=/sbin/shutdown -h -t secs now
uncoment the %users ALL=blabla line and add the commands you'd like.
The ALL=NOPASSWD: detail specifies that users in the users group can sudo to those commands with no password required.
############################################################################
# doing a very simple shell script #
############################################################################
grab any editor, I like Kwrite 'cause it automatically colors the words for me, avoiding certain Parkinson errors (as in Parkinson disease, tremble and press the wrong key without ever realizing it).
the next line identifies the shell you want to use it should be the first line in your file
#!/bin/bash
# grant all is reset , cause kde sometimes does a “save session” thing and keeps opening stuff I left
# open on exit X.
killall amarok
killall amsn
#--------------------------------------------------------------------
# MOUNT PARTITIONS
#--------------------------------------------------------------------
#use sudo to umount your partitions
sudo umount /dev/mySata
sudo umount /dev/myIDE
#Then mount them has your own
mount /dev/mySata
mount /dev/myIDE
#--------------------------------------------------------------------
# STARTING STUFF
#--------------------------------------------------------------------
#just run your favorite applications.
# you can even run a self welcoming voice file, but I guess that would be kind of sick =P
/usr/bin/thunderbird &
/usr/bin/amsn &
/usr/bin/amarok &
###################################################################
Save it has IlikeThisFileName.sh and then set it to be executable:
myUserName@hostName: chmod 755 IlikeThisFileName.sh
what that 755 is a list of permitions each digit corresponds to the individual permitions of a set, in order: owner , group, and all. Then to interpret it you must translate it to binary, least significant bit means executable, then writable, then readable. So 755 means, (111)(101)(101), owner can read write and execute, group and all the others can read and execute. Always though this was delightfull, wanna grab the guy who tough of this and kiss it. Well or not. =P but it's funny.
Off course you can then write another script for your work environment, say you're working on school assignments, set it to run you're favorite IDE, your favorite playlist to study, so and so. Customize!!!!
I believe more and more that laziness is the mother of invention. \_/
terça-feira, novembro 20, 2007
Human Computation .|. Luis Von Ahn
A game where you have to guess what the other person is writting to label the same image your viewing.
Human Computation - Google Video
Luis von Ahn
"Luis von Ahn is an assistant professor in the Computer Science Department at Carnegie Mellon University, ... all » where he also received his Ph.D. in 2005. Previously, Luis obtained a B.S. in mathematics from Duke University in 2000. He is the recipient of a Microsoft Research Fellowship.
ABSTRACT Tasks like image recognition are trivial for humans, but continue to challenge even the most sophisticated computer programs. This talk introduces a paradigm for utilizing human processing power to solve problems that computers cannot yet solve. Traditional approaches to solving such problems focus on improving software. I advocate a novel approach: constructively channel human brainpower using computer games. For example, the ESP Game, described in this talk, is an enjoyable online game -- many people play over 40 hours a week -- and when people play, they help label images on the Web with descriptive keywords. These keywords can be used to significantly improve the accuracy of image search. People play the game not because they want to help, but because they enjoy it.
I describe other examples of "games with a purpose": Peekaboom, which helps determine the location of objects in images, and Verbosity, which collects common-sense knowledge. I also explain a general approach for constructing games with a purpose."
terça-feira, novembro 13, 2007
Fucking 4X4 matrix keyboard
The idea of a 4X4 matrix printing in to a 16 keys keyboard seems rather easy if one thinks the numbers are actually written in base 4. Then any number n= (line/4)*4 + (col%4);
now if one intends to save such a result in a counter, one shall evaluate the lower bits to match the col, and the higher bits to match the line. Sounds easy, either multiplexer or decoder should do the job and we'd all be happy. But this implementation I got, makes the cols independent of any input. And this I find at minimum ; QUITE ODD and am going crazy. And simulated the got deamn keyboard on a JAPPLET. And found my own got deamn solution for the problem and it works. So in case your busting your brain against the monitor searching for google on "keyboard 4x4 decoder" "keyboard 4x4 matrix" ... etc sick of reading datasheets and pic code...
Try the JApplet :P 'cause I'm such a nice person I've included the code. (not that I have issues with disassemblers but they mess up variable names anyhow).
well I guess I'm not a genious... but fortunately there are many shades of gray between Angelina Jolie's face and Bush's Ass hole and today I feel rather close to the neck.
need sleep.
root@desktop# shutdown -h -t secs now;
quinta-feira, novembro 08, 2007
ohhh you need to know assembly to hack?
About three mounths ago there was a terrified null assembly coder kid, in a room somewhere at ISEL, asking in desperation for a book with pictures or other fine explanation of memory management, and stack pointers and stuff. [since this stupid kid skipped some classes] Only to receive as an answer I know not of more bibliography than that assigned to this subject. Try INTEL web site.. .I tryed... ohhh my, spear my limited brain of such limited approach. It would take me millions of years to understand the language, and a couple more geological eras to do something funny with it.
Well since I am now brain stopped by the recent loss of my father and need some funny diversion... though it was a nice idea to start learning some serious hacking... (no... not that kind of black hat hacking... you naughty boy) and ended up tripping on this. So to any one looking for a glimpse on stack, function pointers and a general view to what the hell is codding at it's most raw state (assembly) take a look at this book. Especially if you're a nob like me :$
(a nob at hacking... if you're a nob at coding there should be other things more suitable)
The Shellcoder's Handbook: Discovering and Exploiting Security Holes
take a glimpse now:
quarta-feira, agosto 01, 2007
More geek stuff
Well I'm stuck at level 5, in mod-X where I'm suppose to hack in to an FTP using telnet.
Has I know so little on this matter, I'm stuck on Google looking for clues and yes sometimes I get distracted and go on to useless yet funny stuff.
One of them I found on the related videos on this site.
The original animation (in case you don't wanna get in to that command line stuff):
can be found here.
_________________________________________________________________________________________________
I've been reading so much crap on how hackers, and crackers are "terrorists" I'm beginning to feel like a muslim trapped on the twin towers in 9/11.
"I'm harmless dude!" - she whispered.
And if that's not good enough so sorry... if there's gonna be a law on curiosity and on tech knowledge, just because some idiots use it badly... I hope there's equal effort in to stopping governments to use their resources to do the exact same thing!
terça-feira, julho 31, 2007
mod-X
this little baby has been keeping me up late most nights and will make any aspiring geek go nuts.
It ALMOST got me enjoying all those ideas about stack and all that other stuff you don't really need to know 'cause someone already built an API for you...
------------------------
| "ohh wait a minute I just said something intelligent let me write it down" AHAHAHA
------------------------
I feel sorry for the fact people can't be decompiled.. Somethimes I'd really love to read the source code.
domingo, julho 29, 2007
clocky
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Clocky - Robotic Alarm                                                                                                  %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
quarta-feira, abril 04, 2007
ssh .. X11 forwarding
http://wiki.linuxquestions.org/wiki/X11_forwarding_with_OpenSSH
Aqui fica muito sucintamente como se faz.
Só temos de descomentar as linhas que dizem respeito ao X :P nos ficheiros
/etc/ssh/ssh_config
#HOST *
# ForwardAgent no
ForwardX11 yes
# .... bla bla bla
e /etc/ssh/sshd_config
lá para o fim do ficheiro está
#AllowTcpForwarding yes
#GatewarPorts no
X11Forwarding yes
X11DisplayOffset 10 # isto é o que nos queremos que va para fora e vai apareçer no dispay
X11UseLocalHost yes
#... bla bla bla
E garantir que o .bash_profile do utilizador inicia a variavel DISPLAY
# DISPLAY = machine_where_runs:forward_display_from_this_machine.to_machine_where_runs_display
DIPLAY=localhost:10.0
quinta-feira, março 29, 2007
DynDNS
Your mode of life will be changed to ASCII.
helga.homelinux.com up and running hihihi hurray to ssh!! God I'm loving this semester. And my group is all curious and intelligent people, that actually want to explore things. I'm in wonderland. ;)
Maibe I find time these vacations to configure APACHE ;) then I'll post a link to my web page lol
Keep loving linux ;)
Dynamic DNSSM
Actions
*
Create Hosts
*
Manage Hosts
The free Dynamic DNS service allows you to alias a dynamic IP address to a static hostname in any of the many domains we offer, allowing your computer to be more easily accessed from various locations on the Internet. We provide this service, for up to five (5) hostnames, free to the Internet community.
The Dynamic DNS service is ideal for a home website, file server, or just to keep a pointer back to your home PC so you can access those important documents while you're at work. Using one of the available third-party update clients you can keep your hostname always pointing to your IP address, no matter how often your ISP changes it. No more fumbling to find that piece of paper where you wrote down your IP address, or e-mailing all your friends every time it changes. Just tell them to visit yourname.dyndns.org instead!
http://www.dyndns.com/services/dns/dyndns/
http://ddclient.sourceforge.net/