A curious way to find out if a web page has been developed with php or not.
* PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000 – Credits Php
* PHPE9568F34-D428-11d2-A769-00AA001ACF42 – Logo Php
* PHPE9568F35-D428-11d2-A769-00AA001ACF42 – Zend Logo
* PHPE9568F36-D428-11d2-A769-00AA001ACF42 – Easter Egg
Let’s take an example:
http://www.meneame.net/?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000: if this link gives us the credits of Php it will be because this page is developed with this language, how can you verify that Mename.net is developed in Php.
However in the case http://www.google.com/?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000 returns an error page because it is not developed with Php.
We will also be able to perform the tests with another code (for example to obtain the Php logo):
Combine this trick with the observation of the http headers that the server uses for example to respond to this Firefox extension: live http
headers … if you notice something similar to “X-Powered-By:
PHP / 5.1.6 “or something that contains the keyword” PHP “will be another evidence that the page we are visiting is developed with Php.
The importance of security on a web server
Hide PHP as if it were another language
Avoid SQL Injection in PHP
Security in PHP when uploading a file
Configure SSL in Apache
Avoid showing list of a web directory with .htaccess
Comments on How to know if you use PHP
There are still no comments in the article. How to know if you use PHP
Well, I’m not much of this day 🙂 (ok, I know today is not valentine, it was yesterday) but I just wanted to thank my girl for her gift, which made me very excited 😉
Sometimes the simplest and cheapest, what we do with our own hands, is what most illusion does.
Who was going to say it, that I would have more time in exams than after them … that is not possible, they put us jobs on all sides.
These mornings I have spent in the scholarship, which already owed almost 40 hours, plus the work, but some personal project .. I do not give enough.
With so much trajin paqui palla of information in the new USB, I begin to tire and I came up with the idea of reassembling the server, but this time at home.
The idea would be to get the PIII to 1000 Mhz with two hard drives (currently has Ubuntu) install the SSH service to connect remotely and also put an FTP server.
I had also thought to use the fixed, a PIV with windows XP and leave it all day on, put the SSH or windows remote desktop, not the VNC, because the last time has given me problems, there must be a bug or something because when I put it outside the firewall of the router to streamline services, that’s a queue. (I’ll have to investigate to see what I find)
Another possibility would be to catch the solaris 10 that I have out there or some BSD but that would require more time (of which I do not have) to configure it correctly since I have never touched them.
The other thing would be that of the fixed one I trusted, but of the servant .. the last times that I have tried to place it at home, when I give it a lot of cane, the fan of the micro stops and gets like an oven, almost at 69 degrees some times.
And I do not want this to happen when I’m not at home because I’m afraid of catching fire or something (weird things have been seen)
I know there are people who put them in their homes, maybe if I had a laptop and I could take it to the balcony … xD would be something else.
Here I leave some photos of the server of a friend whom I helped to mount it.
Apart from the server we also set up the local network, another 3 computers and a virtual POS.
Well, that, if someone has any suggestions regarding the installation of a server at home, I accept everything 🙂
BSD, Lunix, Debian and Mandrake are all versions of an illegal hacker operating system, invented by a Soviet computer hacker called Linyos Torovoltos, before the Russians lost the Cold War. It is based on a program called “xenix”, which was written by Microsoft for the US government.
These programs are used by hackers to penetrate other people’s computer systems to steal credit card numbers. They could also be used to penetrate other people’s music channels and steal their music using the “mp3” program. Torovoltos is a prominent hacker, responsible for writing many hacker programs, such as “telnet”, which is used by hackers to connect to Internet machines without using the telephone …
Your child could try installing “lunix” on his hard drive. If you are careful, you may not be aware of their presence, however lunix is a whimsical beast, and if handled improperly, your child could damage your computer, and even break it completely if you delete Windows, in which case you will need your computer is repaired by a professional.
If you see the word “LILO” during Windows startup (just after turning on the machine), your child has installed lunix. To be able to eliminate it you will have to send your computer back to the manufacturer, so that he can install a new hard drive. Lunix is an extremely dangerous software and can not be erased without destroying part of the surface of your hard drive.
PD: I just copy what was already said in Kriptopolis: I just ask that no absent-minded journalist find it and take it seriously, please.
Download videos from Google, YouTube, …
Vdonwloader, a program that works to perfection and allows you to download videos from google videos, youtube, Dailymotion, etc. in AVI or MPG formats just by entering the url of the video 😉 a pity that at the moment does not support metacafe (at less since the program does not give the option).
Party in the Atahualpa, chronicle of a night
When I change my blog to wordpress, I leave all my old stories behind, but seeing that there are many who asked me for the chronicle of the atahualpa, I picked it up and put it back here 😉
Anyway, the old one still has it here, I do not know why …
For those who do not know what is going on, it is a chronicle about the parties of my faculty (Computing at the Pontifical University of Salamanca) that were organized in a nightclub called Atahualpa
And that people do not take bad concept of the night Salamanca, that removing exceptions, we have very good atmosphere 🙂
The words most heard during yesterday were: buahh pedal go I’m going to catch tonight, drunk, my mother free bar in the atahualpa for 9 euros ..
23:21: Arrived at the atahualpa
23:43: We managed to get closer to the bar
23:59: I get to ask
24:05: The waitress processes my order
24:06: The waitress tells me that that can not serve me (was not it all free bar?)
24:08: The waitress made the first ice
24:09: The waitress made the second ice
24:10: The waitress has misplaced the second ice, throws it out and made another
24:11: The waitress finds the bottle and serves me
24:12: I wet my lips at last
24:13: I ask for another drink
24:14: The waitress ignores me
24:34: The waitress keeps ignoring me
24:42: Insult to the waitress, I think that does not help me anymore
24:43: They just opened another bar I’m running
24:44: In the new bar they do not have ice, I have to wait
24:50: The ice arrives (in a mop bucket, to last about 10-15 minutes)
01:01: I manage to take my second cup
01:02: I’m going to ask for my third cup
01:03: There are no ice
01:10: I go to the service to cry
01:15: I pick up 3 glasses and go to the bar
01:30: I ask for 3 glasses
01:41: They serve me the 3 glasses
01:45: I dig in with my 3 glasses between a table and the speaker, grrrrrrr that nobody comes near!
01:48: The last drink .. it was the good one .. good bottle .. I’m noticing it ..
01:50: Rufus arrives, the savior, he knows the waitresses, it turns out that the blonde apart from being slow and believed is Romanian, as she calls immigration …
01:52: Rufus provides us with drinks because, as they know him, they serve him before others.
02:20: we left the atahualpa never to return
Basically that was the night, for the future organizers of social events, take good care of this bar because they have not kept their word, 6 waiters promised and at the beginning there were only 4, on the edges of balls, they also said that all the drinks came and they did not It was like this.
I do not know if they would make a lot of money but what I do know is that many people left dissatisfied and there is nothing worse than that.
Via barrapunto I’ve gotten into the existence of CodeIDE, which is nothing more than a web page that supports programming in several languages, being able to get the results in real time, the truth is that for a rip-off … the idea is not bad although a priori I do not see more advantages.
Perhaps it is a better option for those who are starting in the world of programming.
Apparently, the latest news suggests that Dell along with Novel could be the first to distribute hardware with pre-installed linux, no doubt a precedent.
Despite the fact that the antisupply filter, IE7 Phishing has been one of its most advertised features, a new discovered vulnerability allows hackers to surround the built-in filter to prevent it from reporting that the page being accessed impersonates the identity.
A weakness of IE7 allows to hide the page that is being visualized at that moment. Then the phishing filter can not determine that this page is on the “black list” of web pages declared as identity theft and shows it without warning the user, which could reveal personal and banking data believing that it is on a secure website .
Michal Zalewski has been the hacker who has revealed the flaw, in which Microsoft is already working to correct it.
I read in Digital System about the OpenHack competition of 2002, which brought together the best American hackers.
Several web servers were tested, with substantial prizes:
$ 1,000 for modifying any of the OpenHack web pages.
$ 1,000 for obtaining the source code of one of the websites.
$ 500 for performing a cross-site scripting attack.
$ 1,500 for obtaining credit card information.
$ 1,000 for sending malicious SQL commands (SQL injection).
What I found most curious is that no one was able to take the prize (as I understand, and it seems a little strange) but the best thing was that a web server maintained by Microsoft remained standing with many attacks:
A website created by Microsoft engineers and using the Microsoft .NET Framework, Microsoft Windows 2000 Advanced Server, Internet Information Services 5.0 and Microsoft SQL Server 2000 successfully withstood more than 82,500 attacks, managing to emerge unharmed after eWeek’s OpenHack 4 competition.
Who was going to say it :-P, if you are interested in the configuration that was used in this server, they explain everything here.
Workshops and courses at the university
This weekend we are having one of the workshops (there are 3 in total) taught at the Pontifical University of Salamanca.
Yesterday we had some talks about the information society and technological innovations taught by Professor Luis Joyanes Aguilar.
The talk, although a bit heavy at the end (5 hours) was quite interesting as it dealt with very current topics and cutting-edge technologies of which, although I had heard, had not paid much attention.
Of all the things that were commented on yesterday’s day, I prefer the HDSPA and RFID, this latest technology has caught my attention, and I will investigate more about it.
This morning we are having another day, this time on agents, given by Dr. Oscar Sanjuán (I have taken a short break to write these annotations :-P)
The truth, although they have been a lot of hours, I have found them very interesting and entertaining, I just hope that the rest of the workshops are the same.
Now to wait for the job (as a final project) to decide to send us, hopefully serve to learn something new, interesting and entertaining 😛 since we have so many jobs this year at least some worthwhile.
If you do not know what a honey pot is, literary translation, it means ‘jar of honey’ and in computer science it is thus determined to vulnerable systems that allow attackers in a controlled way to access and thus be able to study them.
What has been a “trap” for attackers (the hunter hunted).
On this page there is a very interesting article on this practice, it is worth it even if it is in English.
QEMU emulates the operation of several processors and uses dynamic translation to gain speed.
The program has two modes of operation: the emulation of the complete system, which includes one or more processors and different peripherals. It can be used to launch different operating systems without restarting the PC or debugging the code.
In the other mode, called a user, QUEMU can launch processes compiled from one CPU to another. Its utility? For example, launch the Wine Windows API emulator or facilitate cross-compilation and debugging.
This program, moreover, runs without the need for a host kernel driver and, however, provides acceptable performance.
You will be interested to know that among the ten hardwares supported in the Full System Emulation mode are: the PC (x86 or x86_64 processor), the ISAP PC, the PREP and the G3 BW Power Mac. Regarding the second mode, it supports up to six different types of CPU.
I’m going to the Canary Islands
Yes, it was planned this morning, while we were studying the database exam we just got out of, it was a bit “weird” aver when the note came out ..
Returning to the trip, we have organized it for … tomorrow, yes, TOMORROW hehe, the truth is that it has been incredible, to organize a trip to the Canary Islands in less than 72 hours.
The destination is the island of Gran Canaria (that’s where my family came from, many many years ago …) going back to my roots 🙂 more specifically to the hotel the hamlet that is on the beach of English, in the south of the island.
From what I have been told there is a very good party in that area 🙂 although searching the internet I have found that it has a “naturist” beach nearby. And what is naturist? The same as a nudist?
Is it the same naturism and nudism?
In general, they are often used interchangeably, although there are some differences. Naturism, taking as reference the previous definition, emphasizes the integration with nature. Thus, naturists would be considered those who enjoy naked nature, while they would be nudists who undress at home or go to nudist centers. However, the nudist centers are usually next to beaches, mountains or forests where you can enjoy nature without clothes. And there are many people who do both, so they would not fit into any of the categories.
Not that I’m excited about this type of beach (usually the percentage of men / women .. leaves a lot to be desired) and NO, I do not frequent them 🙂 but I found it curious to find myself with it.
The regime is full board, alcohol included, and buffet meals, so I do not think we spend a lot once there.
Tonight (we are already on Friday) about 7 in the morning leaves our flight from Madrid, so until Thursday that I return I will not be able to update this blog 🙁
A little bit of my life …
Today is a difficult day, tomorrow will be worse, this week I have had to get up early and sometimes … not at all, on Thursday I have a database test and I have not started with it yet. There have already been several notes of the February exams … for now … all approved .. except one … (I’ll tell you in due course) but I’ll probably have to leave for September, it does not overwhelm me either, because like this it was going to be my Last summer, I was going to take advantage of it 😀 and I did not intend to start working.
That is another subject that I regain the head, the future work .. where will I end? Like xergio, in madrid? In Salamanca? Barcelona? (I do not know Catalan) Will I find a job? Will I sting much code? Research + Development?
By the way, I miss a spell checker for wordpress.
Today is a difficult day, and not only for me, NoNameGirl is also like that (it’s not good to eat your head so much) and morao has closed his blog 🙁 (I’ll send an email to doubts @ ..)
I have decided to make some changes in the blog, since lately I had it a bit forgotten because I had focused on other projects, but seeing how the course is going, I am going to close them very quickly.
I added the section “My photos” and I had already put my resume but as I did “copy paste” the presentation went wrong so I decided to remove it to face it at another time.
They follow in “pending things” the section of Who I am, and fix the script that generates the image that shows the visits of the last 7 days (among other things).
Today I also learned of the terrible news that my hosting, where I have hosted all my websites, has decided to disable the mail () function of php, due to the possible use of spam messages (such as the one that burns me the comments of this blog continuously), this affects that I have to look for my life and change so many existing projects.
On the other hand (since we take the issue of my hosting) is giving me many problems with the management of several domains, as they do not let me redirect a .es domain to a web space of my property, claiming that you can not redirect the .es and if I want I have to buy a web space. (of this already I will speak later … what sadness)
This .. among other things, the scholarship, the classes, the work … in short … as someone once said, more wise than us:
Patience and tolerance is the path to tranquility and inner peace.
Yesterday I received a very funny email about student responses on exams. I had already read a book once about it, that by the way, I left it to Eva and she still has not returned it to me :-p
I put some of those that I found more fun.
Latin: Caesar mandavit enemici ab porto Ostiae
Correct translation: Caesar threw the enemies of the port of Ostia.
Translation of the pupil: The César of an ostia threw the enemies of the port.
[Question] General characteristics of Baroque music.
I think there’s a mistake in the question, I think it’s the Moroccan music. I will answer this. The Moroccan music is that of the Moors of Morocco which is very important because the Moors played it when they went to the battles of conquest.
This was a deaf man who composed the lyrics of Miguel Rios or the Hino of joy. But when the izo was not of rocks. He gave many concerts at the time of Franco and did also “Para Luisa” that has no paranjon in the history of music.
[Question] Briefly comment on the musical characteristics of your favorite group / singer / songwriter.
I really like all the music so much the old and the haora. Example: of the old woman, Carminha Furada, Maller and Faya who was Spanish,
Of the new ones I like Mecano, Total Sinister, Los Burros, Allatola do not touch me the pirola (with forgiveness) and many others in general. End.
[Question] Measure the second verse written on the board.
In the waxed about 75 centimeters, on paper about a quarter (I say approximate because I have not brought the meter).
[Question] Prensoras birds.
They are the birds that live in the “presses”, places where there is a lot of water.
[Question] Water purification.
It is made by ultraviolet rays
They are animals that dissolve in water.
[Question] Moses and the Israelites.
The Israelites in the desert fed on patriarchs.
That God gives us to understand the priests.
[Question] Neck muscles.
[Question] The four Evangelists ………
The four evangelists were 3: Saint Peter and Saint Paul.
Movements of the heart.
Of rotation around itself and of translation around the body.
[Question] The nobility.
They could not be her if they did not have blood and they were not from that family. In the lands of the nobleman the house of the lord, the mill, the toaster of bread, etc. was uvicaba …
[Question] Vernacular languages:
Those that are spoken in taverns
[Question] An internal parasite of man:
The one with a bluff
The animals that carry the tits in a bag
Man with many women
[Question] A worm that is not the earthworm:
The sea worm
I do not doubt at any time that all this is true, as a teacher and as a companion of some “individuals” I attest that things like this happen.
Making chops was never so easy
Every day I am more surprised to see “unpublished” programs appear, but look at this example, a program to make chops!
Although well thought … surely someone I know is good … right David? 😛