Archive for June, 2007
interesting stuff
hello,
We didn’t mean to create a blog that would be just a news crawler as most of the blogs out there are. But, as time is against us (one more time) I decided to blog about two (three actually) really interesting stuff I’ve read today.
The first is a vulnerability scan for PHP apps (it scans for XSS and SQLI vulnerabilities) it’s called Pixy and you should all give a try for this tool. It can save your job
The other article (which was divided in two parts) teaches how to create encrypted partitions to protect your data in linux. I read it at LinuxPlanet, you may click here and here to see how everything works.
No commentsfresh news
Not much going on these days around here. Our Bifrot project (that’s how we named the distributed hash cracking project) is stuck for a couple weeks because of tests period in Brazil (semester is ending… here so I gotta study a bit). I guess I can quickly update you with some good news:
Hash cracking:
- We managed to add the Bifrost as a project for our research group in networking security at university. Everything shall get easier now once we will have our own server 24/7 (well.. in practice is more like a 24/4 hehehe). We also invited few friends to help us out developing the algorithms and the fun part. (no, we are not going to use BOINC).
Joomla!:
- Discussion is finally over. Joomla! sticks to (pure)GPL and all these proprietary devs may start crying. YOU LOSE! check the announcement here
- I don’t have time to fix the .fla, from the flash+joomla integration post, right now but I promise I won’t forget you and will find a way to post a corrected version ASAP.
excuse the english mistakes, i’m in a rush here
talk to you soon.
Javascript 1.7 (or Pythonscript ?)
Hello! This topic will explain some of the new features of JavaScript 1.7 which are
embedded in Firefox 2.0 Beta1+ versions and probably in IE (I'm not sure).
The most interesting point in the new features is the "apparently" correlation
with the Python same features, which I will cite.
Well, let's prepare to use our new features. First of all, we need to declare some
special string in the script type attribute like that:
-
<script type="application/javascript;version=1.7"></script>
With this tag, we enable the v.1.7 features on our scripts.
This is needed because some new reserved keywords of 1.7 version may
interfere in the old code, the words are: "yield", "let", etc...
Let's begin.
Generators
Generator are like interactive functions with state variables.
-
/* The function */
-
function gen()
-
{
-
var i = 0;
-
while(true)
-
{
-
yield i;
-
i++;
-
}
-
}
-
-
/* The "g" var isn't a simple function,
-
is a instance of an generator */
-
var g = gen()
-
-
/* This for loop show 3 alerts with
-
respective values: 0, 1, 2 */
-
for (var i=0; i<3; i++)
-
{
-
alert(g.next())
-
}
-
-
g.close();
This is a powerful new feature of JavaScript 1.7, and have the same
syntax of Python Generators as you see here.
I will post about other new features in next posts, cause now I'm busy
with the Distributed Rainbow Tables project.
Farewell,
Christian S. Perone
