guest@jekil:~$ whoami

jekil's blog

# Alessandro Tanasi's thoughts
guest@jekil:~$ tail -f blog/index.log
[2026-07-17 · Research · 9 min read]

XSS in hidden input fields

During a recent engagement I found a reflected value inside the value attribute of a hidden input field. The developers had blacklisted angle brackets, so the textbook "><script> breakout was a dead end — and that turned out to be the interesting part.

With no < or > available, the injection is limited to attributes on the same <input> element. A hidden input is unusually hostile to conventional XSS payloads: it is not rendered, cannot normally receive focus, and does not participate in constraint validation. Payloads based on hovering, focusing or submitting an invalid field therefore do not work as-is.

This post examines …

#xss   #exploiting   #web
[2020-04-25 · Tools · 1 min read]

UDPot updated and new docker

UDPot is a littel script to run an honeypot which acts as a real DNS server, sending out DNS replies for the first bunch of requests, and after it work as a sinkhole.

In the last days I refreshed the code, updated the requirements and more spring cleaning.

Now a docker image is available on DockerHub, you can run it with:

$ docker run --name udpot -p 5053:5053/udp -p 5053:5053/tcp -d jekil/udpot

It will run UDPot on port 5053 UDP and TCP, if you want to use it on another port you can bind it with …

[2017-01-11 · Blog · 2 min read]

EyePyramid: I forgot to do my homework!

Today Italian news were surrounded by the story of brother and sister arrested in Italy for spying on top public officials, institutions and high profile VIPs.

The EyePyramid story has been widely reported and probably it is going to monopolise Italian media for the next week. So I do not want to write about it.

The only official information available (right now) are in the subpoena / arrest warrant (sorry, in Italian). It is filled of operational details about how the bad guys were running their business.

Technically speaking, they wrote a VB.NET malware with RAT / spyware features. They infected …

[2016-11-27 · Blog · 3 min read]

A Raspberry Pi Home Dashboard

Some time ago I created an home dashboard, using a Raspberry Pi, to have all my favourite tools (i.e. Zabbix, Munin) on a wall screen in my room. Now I want to write down and share with everyone how I put it together.

The whole idea of this is to have the Raspberry Pi hidden behind the screen, so trailing Ethernet cables isn’t ideal. Luckily the Pi supports a range of Wifi adapters, also latest Pi has integrated Wifi.

What you’ll need

  • Raspberry Pi (I used a spare old one)
  • Micro SD Card (8 gigs is enough …
[2016-08-02 · Blog · 3 min read]

A Lufthansa Horror Story

TL;DR: What happened today? Thanks to the worst customer service provided by Lufthansa I am going to explain you why I missed a day in Vegas and why, in my over 15 years experience, you should stop flying Lufthansa.

Today, I was heading to Las Vegas, to chill out at BlackHat and Defcon, via Frankfurt and Philadelphia. I was flying  Lufthansa, because in long flights I prefer to spend more and be safe; with my 2 dogs in a checked-in box. Due to many Lufthansa fails in logistics and customer service I miss my flight and I have been …

# see also: archives · categories · tags