RSS
 
 

Archive for the ‘News’ Category

Allwinner (SUNXI) A20 getting two CPU up

30 Dec

In my real work, I need a pre-boxed computer at a throwaway price, something I can walk into a server-room covertly stick inside a server cabinet, power-up and then use as a secured ‘base’ from where I can find out ‘what the hell is going on’ (all with the approval of ‘upper management’)

I have been playing about with the various versions of the TV box ‘construct’, what I need is a cheap secure (relatively speaking)
throwaway computer that contains in-bulit WIFI/Ethernet/Bluetooth USB and in a nice sealed case I can fill with epoxy……

Currently I use two units
840A (A20 – dualcore) & 809 III (3188-quadcore)

Enter the 840A TV box

Looking about on the internet you will see the A20 being hacked all over the place ( even at wrt), however when you look a little bit closer you will see that in many of the Kernel startup logs that ONLY ONE CPU is actually enabled and active.

Indeed if you use the ‘released’ SUN-XI code… guess what…. yep only one CPU comes up or you have to start using their ‘closed binary blobs’ for the functionality.(Having worked with some Chinese software developers… I would NEVER allow any Chinese built closed source on my network).

What happened

The Result
Whilst this is still a work in progress we have gotten this far.

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.19.0-rc1-00011-g53262d1-dirty (bob@my-virtual-machine) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #14 SMP Sat Dec 27 13:53:26 HKT 2014
..........
[ 0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: I12 / Q5 / QT840A A20 tvbox
...........
......
[ 0.001489] CPU: Testing write buffer coherency: ok
[ 0.001836] CPU0: update cpu_capacity 1024
[ 0.001853] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.001928] Setting up static identity map for 0x403d4b80 - 0x403d4bd8
[ 0.003335] CPU1: update cpu_capacity 1024
[ 0.003341] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.003428] Brought up 2 CPUs
[ 0.003449] CPU: All CPU(s) started in HYP mode.
[ 0.003455] CPU: Virtualization extensions available.

 

Turning USB peripherals BadUSB (A confession……)

08 Aug

There is currently a ‘stink’ about this article:

Turning USB peripherals into BadUSB

These guys appear to have put a quite an amount of research into this subject and attack vector.
However I’m disappointed about how little research and citations of prior work they seem to have included, even if it is not based around USB devices it is still relevant.
Then there is the ‘case’ of the 3rd party publicly available code to reprogram the SAME USB device released BEFORE their presentation.

For Example:
On Hacking MicroSD Cards

Read the rest of this entry »

 

Bit coin miner from Ebay scrap (V)

25 Jun

Nope … we have not ‘given up’
In fact we have made some excellent progress
Read the rest of this entry »

 

Arvixe still not there yet?

04 Apr

I am beginning to get the idea that some members of Arvixe are giving false information in an attempt to make it appear to the customer/ or their supervisors that we are the one in the wrong and that they are ‘doing their best’ to sort out the problems, possibly in attempt to coverup their mess.

Maybe I’m wrong, but I just cannot see why it takes 3 weeks to setup a server with a domain name pointing to the same address, NOT install tomcat and give the customer the CORRECT details to connect to their hosted account.

Yesterday I received an emails clearly stating:


The ------ server is now the --- server so its(sic) not on the wrong server.

However after checking and executing a ‘ping’ to the customers REGISTERED domain name and a ping to the ‘—‘ server I find that they are NOT the same servers

The server that they claimed was “NOT the wrong server”

ping ---.------.com
PING ---.------.com (---.---.---.52): 56 data bytes
64 bytes from ---.---.---.52: icmp_seq=0 ttl=49 time=260.736 ms
64 bytes from ---.---.---.52: icmp_seq=1 ttl=49 time=261.221 ms
64 bytes from ---.---.---.52: icmp_seq=2 ttl=49 time=259.718 ms

The customers DNS server:

ping -------.com
PING -------.com (---.---.---.2): 56 data bytes
64 bytes from ---.---.---.2: icmp_seq=0 ttl=53 time=259.538 ms
64 bytes from ---.---.---.2: icmp_seq=1 ttl=53 time=260.570 ms

Clearly the pings resolve to different IP addresses, and after checking the content of the servers that are supposed to be ‘right and the same’, it was clear that they are NOT the same.

Anyone wanting a GOOD hosting company can click on this link:

Get a week’s FREE trial and a support team that, I have to say is absolutely the best and fun to send emails to. Plus it only takes them 15 minutes to get you running.

 

Well done Google ‘hot Tw*t’ == Hot, Thailand

08 Mar

Finally a Google tracking function that is functional as well as amusing.
Sick of google automatically setting my location and thinking that I am somehow interested in local news.
I decided to reset the Google location on the Google “news” page.
Read the rest of this entry »

 
 

Tips for using GitHub

25 Feb

GitHub is great for finding code and then forking it, however one issue is that there are a significant number of idiots forking projects and then making insignificant formatting changes, maybe they want to see their name up on the web or even claim that they are part of the project (great for job interviews)

So when forking a project you need to ensure you have the actual base project and not some numpties re-fork of a re-fork.

Here is a classic example taken of a FULL Git patch:

@@ -6,7 +6,7 @@
6# Datatypes (KEYWORD1)
7#######################################
8
9-DHT22 KEYWORD1
9+DHT22 KEYWORD1
10
11 #######################################
12 # Methods and Functions (KEYWORD2)

Read the rest of this entry »

 

Arduino Mega: TinyWebServer final

29 Jan

All major bug fixes have now been implemented in the main library.
This includes:
Memory leaks/memory corruption in low memory conditions
Corruption of uploaded files, when host was high speed
Incorrect file upload timeout watchdog.