This gist was built by the community of the researchers and was scribed by Kir and Igor from the QIWI/Vulners. We are grateful for the help of all those who sent us the data, links and information. Together we can make this world a better place!
A personal diary of DataFrame munging over the years.
Convert Series datatype to numeric (will error if column has non-numeric values)
(h/t @makmanalp)
- Started an EC2 instance using Docker instructions
- Installed thug with
sudo docker pull jnazario/thug
- Created directory in my home named thuglogs (can be anything)
alias thug='docker run -w /usr/local/src/thug/src -v /home/ubuntu/thuglogs:/usr/local/src/thug/logs jnazario/thug python thug.py'
thug -r http://example.net/myreferer http://evil.example.com/badstuffhere
- Logs will go in /home/ubuntu/thuglogs or whatever directory you specify in the alias
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Start with only one known domain from a botnet: qwmrxczhrcmbcagehqwxlvsnj.ru | |
2) Get the intersection of names looked up by the IPs having looked up this domain. It takes less than 1 minute. | |
$ curl https://sgraph.umbrella.com/dnsdb/clientlookups/i/name/qwmrxczhrcmbcagehqwxlvsnj.ru | sort -rn > /tmp/a | |
3) Remove popular domains | |
cut -f2 /tmp/a | filter-popular > /tmp/aa |
A widget made for Dashing. This widget shows multiple animated progress bars and reacts dynamically to new information being passed in. Anything with a current state and with a projected max/goal state can easily be represented with this widget. Some sample ideas would be to show progress, completion, capacity, load, fundraising, and much more.
- Animating progress bars - Both the number and bar will grow or shrink based on new data that is being passed to it.
- Responsive Design - Allows the widget to be resized to any height or width and still fit appropriately. The progress bars will split up all available space amongst each other, squeezing in when additional progress bars fill the widget.