Andrei Clinciu
- 2018-01-15T15:38:00Z
- 4 min to read
So I've recently started to learn Elixir and Phoenix. I've read a few books, I've implemented some sample scripts but I feel it's time to start a full blown project from scratch.
This way I hope to combine everything I've read with previous programming experience. I can say that I really enjoy programming in Elixir.
It feels different from any other experience. I'll write more about this in another blog post
Since Elixir is perfect for concurrent, high availability and fault tolerant servers we're going to implement a game. Did I just say we?
Yes. I'm going to make it like a sort of tutorial progressing from the beginning to the end. It's meant to organize my ideas and provide a way for newcomers to see the wonders Elixir offers.
read more
Andrei Clinciu
- 2018-01-11T13:44:00Z
- 3 min to read
Reverse engineering can very fun. Beginners are mostly scared away because there is a lot of things going on. Fortunately if you have the right tools this becomes manageable for anyone. The proper knowledge about the system and programming is also required.
gdb is still in the top list of disassemblers. However it has some limitations and it's not that easy to implement scripting. Yes you can use certain plugins like peda and gef which help you out. But why not use radare2 which uses the capstone framework?
You'll want to use it because...
read more
Andrei Clinciu
- 2018-01-01T00:00:00Z
- 5 min to read
This mini tutorial will show off Radare2's forensic analysis potential.
You can use radare2 as a digital forensic analysis tool on disks, files, websites, remote storage.. Etc
Radare2 has a great potential to become the swiss army knife of CTF contests.
Sure, there are many tools out there that can do what we want. But one tool do do it all? I don't think so.
I had created this CTF style image a while ago for a Windows 7 mini forensic contest.
JPG files are great. You can hide data in plain sight. You can embed archives or other files. You can even change bit sequences to add your data and encrypt it as if it's part of the image without being detected!
read more
Andrei Clinciu
- 2017-12-21T19:13:00Z
- 2 min to read
So I've recently switched to using Elixir as my main development platform.
One drawback of Elixir/Erlang is that it doesn't have any GUI(General User interface).
Yes, it's easy - even required - to use cowboy + plug or Phoenix to make a browser based (HTML, CSS and JavaScript) interface that works great across all devices.
But what when you want to interact with the user directly without the extra overhead?
read more
Andrei Clinciu
- 2017-12-16T00:09:00Z
- 2 min to read
On 15 December 2017 net neutrality was repealed in the US. Some say that this may end the open Internet as we know it. Europe won this battle in October 2016.
I will not explain what net neutrality is nor dive into the technical details of what could happen if the internet is not an open platform anymore.
Net Neutrality can be summed up as the protection and freedom of every citizen that uses the Internet to interact with any website, server or content that he wants to without being limited. Without Net Neutrality every IPS can limit your access and make you pay for accessing various websites. This is just crazy.
With the fall of net neutrality there will be a rise of censorship.
There is however one thing what people can do to escape from the censorship.
read more
Andrei Clinciu
- 2017-12-13T20:48:00Z
- 1 min to read
There is an ajax issue while using using nginx with osTicket due to redirects.
Certain things will not load and if you look in your error log file you will see something like the following:
You should change /helpdesk/ to whatever subfolder you have the osTicket hosted to.
This will also solve problems in the scp but also in the normal working..
Add this to the server config
.... probably here you have other fastcti_params
set $path_info "";# Requests to /api/* need their PATH_INFO set, this does thatif ($request_uri ~ "^/helpdesk/api(/[^\\?]+)") {\tset $path_info $1;}# /api/*.* should be handled by /api/http.php if the requested file does not existlocation ~ ^/helpdesk/api/(tickets|tasks)(.*)$ {\ttry_files $uri $uri/ /helpdesk/api/http.php;}# /scp/ajax.php needs PATH_INFO too, possibly more files need it hence the .*\\.phpif ($request_uri ~ "^/helpdesk/scp/.*\\.php(/[^\\?]+)") {\tset $path_info $1;}if ($request_uri ~ "^/helpdesk/.*\\.php(/[^\\?]+)") {\tset $path_info $1;} \tfastcgi_param PATH_INFO $path_info;# Make sure requests to /scp/ajax.php/some/path get handled by ajax.phplocation ~ ^/helpdesk/scp/ajax.php/(.*)$ {\ttry_files $uri $uri/ /helpdesk/scp/ajax.php;} # Make sure requests to /ajax.php/some/path get handled by ajax.phplocation ~ ^/helpdesk/ajax.php/(.*)$ {\ttry_files $uri $uri/ /helpdesk/ajax.php;}
read more
Andrei Clinciu
- 2017-12-07T21:39:00Z
- 2 min to read
I've been wanting to write something else than about IT so I thought why not write about LIFE in general. This idea occurred to me multiple times even when I started writing and researching information about a book I wanted to write.
I always thought there are many places where you can inform yourself and there are already too many people who write about almost everything.
The main problem I found is that there are relatively FEW people who write about thinking in a way that thinking is an everyday action.
Gathering information, forming an opinion, understanding statistics.. these are all daily activities needed to succeed.. However as the years passed the sad realization is that most people never stop to think about something.
We all have opinions, though how much research do we do before we come to a certain idea?
read more
Andrei Clinciu
- 2017-11-30T16:13:00Z
- 2 min to read
How do YOU keep your notes information stored?
Well, at first everyone uses files, right? But what when you have thousands of them!
~ to 2009
So up untill 2009 all my note taking was done by using a custom software written in Tcl based on the HyperText Help System which I usually included with shipped apps.
What it did was actually use some form of HTML with Tk. At the same time i experimented with the wikit project A nifty thing itself.
It saved everything in 1 file so it was very convenient to backup.
read more