Posted: February 1st, 2011 | Author: xanda | Filed under: N900 | 4 Comments »
Hi,
Short update. Here are the must have repo list for your Maemo (N900)
deb https://downloads.maemo.nokia.com/fremantle/ssu/apps/ ./
deb https://downloads.maemo.nokia.com/fremantle/ssu/mr0 ./
deb https://downloads.maemo.nokia.com/fremantle1.2/ovi/ ./
deb http://repository.maemo.org/extras/ fremantle-1.3 free non-free
deb http://repository.maemo.org/extras/ fremantle free non-free
deb http://repository.maemo.org/extras-devel/ fremantle free non-free
deb http://repository.maemo.org/extras-testing/ fremantle free non-free
deb http://repository.maemo.org/community-testing/ fremantle free non-free
deb http://repository.maemo.org/ fremantle/sdk free non-free |
deb https://downloads.maemo.nokia.com/fremantle/ssu/apps/ ./
deb https://downloads.maemo.nokia.com/fremantle/ssu/mr0 ./
deb https://downloads.maemo.nokia.com/fremantle1.2/ovi/ ./
deb http://repository.maemo.org/extras/ fremantle-1.3 free non-free
deb http://repository.maemo.org/extras/ fremantle free non-free
deb http://repository.maemo.org/extras-devel/ fremantle free non-free
deb http://repository.maemo.org/extras-testing/ fremantle free non-free
deb http://repository.maemo.org/community-testing/ fremantle free non-free
deb http://repository.maemo.org/ fremantle/sdk free non-free
ok huge list.. where to put it?
/etc/apt/source.list.d/hildon-application-manager.list |
/etc/apt/source.list.d/hildon-application-manager.list
hurm.. did i missed the SDK repo? not really.. the SDK repo is down (at the moment). Will update this post later.[updated]
Done with the list?
sudo gainroot
apt-get update
apt-get upgrade |
sudo gainroot
apt-get update
apt-get upgrade
Posted: November 10th, 2010 | Author: xanda | Filed under: IT Related | Tags: SCADA, Shodan | 5 Comments »
Here are some useful queries:
- http://www.shodanhq.com/?q=port:161+country:US+simatic
- http://www.shodanhq.com/?q=PLC
- http://www.shodanhq.com/?q=allen+bradley
- http://www.shodanhq.com/?q=fanuc
- http://www.shodanhq.com/?q=Rockwell
- http://www.shodanhq.com/?q=Cimplicity
- http://www.shodanhq.com/?q=Omron
- http://www.shodanhq.com/?q=Novatech
- http://www.shodanhq.com/?q=Citect
- http://www.shodanhq.com/?q=RTU
- http://www.shodanhq.com/?q=Modbus+Bridge
- http://www.shodanhq.com/?q=modicon
- http://www.shodanhq.com/?q=bacnet
- http://www.shodanhq.com/?q=telemetry+gateway
- http://www.shodanhq.com/?q=SIMATIC
- http://www.shodanhq.com/?q=hmi
- http://www.shodanhq.com/?q=siemens+-…er+-Subscriber
- http://www.shodanhq.com/?q=scada+RTS
- http://www.shodanhq.com/?q=SCHNEIDER
- http://www.shodanhq.com/?q=port%3A161+simatic
- http://www.shodanhq.com/?q=telemetry+gateway
- http://www.shodanhq.com/?q=%22cisco-ios%22%20%22last-modified%22
Erk.. How to exploit?
- Default password (uhukk uhukk WinCC)
- http://reversemode.com/index.php?option=com_content&task=view&id=65&Itemid=1
- http://www.elladodelmal.com/2010/05/shodan-y-sistemas-scada.html
- [..]
What else to exploit ?
Posted: November 9th, 2010 | Author: xanda | Filed under: IT Related | Tags: mysql, optimize, performance | No Comments »
MySQLTuner is a script written in Perl that will assist you with your MySQL configuration and make recommendations for increased performance and stability. Within seconds, it will display statistics about your MySQL installation and the areas where it can be improved.
It’s key to remember that MySQLTuner is a script which can assist you with your server, but it is not the solution to a badly performing MySQL server. The best performance gains come from a thorough review of the queries sent to the server, and an evaluation of the MySQL server itself. A qualified developer in your application’s programming or scripting language should be able to work with a MySQL database administrator to find improvements for your server. Once the server and application are optimized well, you may need to consider hardware upgrades to the physical server itself.
[Read more]
Seriously it would increase your MySQL performance and save your time!
Posted: November 4th, 2010 | Author: xanda | Filed under: IT Related | Tags: apache, google, mod_pagespeed, web server | No Comments »
Page Speed is an open-source project started at Google to help developers optimize their web pages by applying web performance best practices. Page Speed started as an open-source Firefox/Firebug add-on and is now deployed in third-party products such as Webpagetest.org, Show Slow and Google Webmaster Tools.
[Read more]
Posted: October 15th, 2010 | Author: xanda | Filed under: IT Related | Tags: build, compile, darwin, js, mac, spidermonkey | 2 Comments »
If any you found the following error msg while compiling Spidermonkey on Darwin / Mac ?
jsobj.c: In function ‘js_ConstructObject’:
jsobj.c:2686: warning: comparison is always true due to limited range of data type
cc -o Darwin_DBG.OBJ/jsopcode.o -c -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DDARWIN -DX86_LINUX -DDEBUG -DDEBUG_adnan -DEDITLINE -IDarwin_DBG.OBJ jsopcode.c
cc -o Darwin_DBG.OBJ/jsparse.o -c -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DDARWIN -DX86_LINUX -DDEBUG -DDEBUG_adnan -DEDITLINE -IDarwin_DBG.OBJ jsparse.c
cc -o Darwin_DBG.OBJ/jsprf.o -c -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DDARWIN -DX86_LINUX -DDEBUG -DDEBUG_adnan -DEDITLINE -IDarwin_DBG.OBJ jsprf.c
jsprf.c: In function ‘BuildArgArray’:
jsprf.c:644: error: incompatible types in assignment
make[1]: *** [Darwin_DBG.OBJ/jsprf.o] Error 1
make: *** [all] Error 2 |
jsobj.c: In function ‘js_ConstructObject’:
jsobj.c:2686: warning: comparison is always true due to limited range of data type
cc -o Darwin_DBG.OBJ/jsopcode.o -c -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DDARWIN -DX86_LINUX -DDEBUG -DDEBUG_adnan -DEDITLINE -IDarwin_DBG.OBJ jsopcode.c
cc -o Darwin_DBG.OBJ/jsparse.o -c -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DDARWIN -DX86_LINUX -DDEBUG -DDEBUG_adnan -DEDITLINE -IDarwin_DBG.OBJ jsparse.c
cc -o Darwin_DBG.OBJ/jsprf.o -c -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DDARWIN -DX86_LINUX -DDEBUG -DDEBUG_adnan -DEDITLINE -IDarwin_DBG.OBJ jsprf.c
jsprf.c: In function ‘BuildArgArray’:
jsprf.c:644: error: incompatible types in assignment
make[1]: *** [Darwin_DBG.OBJ/jsprf.o] Error 1
make: *** [all] Error 2
Personally, i’ll answer yes 🙂
And here is a quick fix for the issue:
1) Open jsprf.c
2) Add the following lines in line 61 (js-1.7.0)
#elif defined(va_copy)
#define VARARGS_ASSIGN(foo, bar) va_copy(foo,bar) |
#elif defined(va_copy)
#define VARARGS_ASSIGN(foo, bar) va_copy(foo,bar)
Make sure it is now somehow similar to the following:
#ifdef HAVE_VA_COPY
#define VARARGS_ASSIGN(foo, bar) VA_COPY(foo,bar)
#elif defined(va_copy)
#define VARARGS_ASSIGN(foo, bar) va_copy(foo,bar)
#elif defined(HAVE_VA_LIST_AS_ARRAY)
#define VARARGS_ASSIGN(foo, bar) foo[0] = bar[0] |
#ifdef HAVE_VA_COPY
#define VARARGS_ASSIGN(foo, bar) VA_COPY(foo,bar)
#elif defined(va_copy)
#define VARARGS_ASSIGN(foo, bar) va_copy(foo,bar)
#elif defined(HAVE_VA_LIST_AS_ARRAY)
#define VARARGS_ASSIGN(foo, bar) foo[0] = bar[0]
3) make -f Makefile.ref
4) your spider monkey is ready in Darwin_DBG.OBJ directory 🙂
Credit: http://github.com/janl/couchdbx-core/blob/ff47372552d10df00d74cb7989dfed4a19a6040d/patches/js/patch-jsprf.c