Setup: Ubuntu 18×64 x86_64 application Arbitrary code execution from inside the application I’m trying to write code which should be able to find structures in memory even with ASLR enabled. Sadly, I couldn’t find any static references to those regions, so I’m guessing I have to use the…
Tag: linux
repo fail to init on Ubuntu 16,0 virtual box on Macbook
I am trying to build AOSP image on my mac Book using Linux virtual box. Since I don’t have enough space on Mac I am trying to checkoutAOSP on external 2 TB Segate HDD which I planned to use for build. I have installed repo tool and python 2.7 but when I try to init repo with this command repo
How to find only the lines that contain two consecutive vowels
how to find lines that contain consecutive vowels $ (filename) | sed ‘/[a*e*i*o*u]/!d’ Answer To find lines that contain consecutive vowels you should consider using Here, [aeiou]{2,} pattern matches 2 or more occurrences ({2,} is an interval quantifier with the minimum occurrence number set to 2)…
I have a server which is used by my team with same user name. I want to trace who has triggered a perticular command?
Which user has run which command that can be traceable by : (date) pstree -p | grep date —> pid sudo grep pid /var/log/auth.log Or sudo grep pid /var/log/secure Is there any alternative way to trace if all members are using same username (root) for login ? Answer You are out of luck. All the logs and…
Run a command every 5 minutes and stop it at the end of that time
I have to run NodeJS application which has to run uninterruptedly, but I need to stop it and restart it every 10 minutes. I’m Working on a dedicated Ubuntu 18.04 machine. I have read something about cron but I don’t know well how it works. Does it stop the command that was run with it? Answer You …
makefile substitute target pattern twice in its dependency
I have the following project architecture My aim is to generate a png image for each directory present into doc/uml into build/doc/uml The parent makefile is the following one And the submakefile is the following one However it’s failing when I’m launching it with make doc It seems that the proble…
intel SPDK ioat example fail to run
I am new in the intel SPDK and meet some problem when I run the example code. I setup the BIOS as this page said. Intel® Hyper-Threading Technology off Intel SpeedStep® technology enabled Intel® Turbo Boost Technology disabled then I git clone from this page and run all the command. The test command ./test/un…
Analyze memory dump of a dotnet core process running in Kubernetes Linux
I am using Kubernetes in Google Cloud (GKE). I have an application that is hoarding memory I need to take a process dump as indicated here. Kubernetes is going to kill the pod when it gets to the 512Mb of RAM. So I connect to the pod And run: Find the process I want: But when I try to dump…
LMDB: Open large databases in a limited memory system
I have a program that is projected to use a few GB of lmdb diskspace (it’s a blockchain, and we’re moving away from leveldb due to its lack of ACID, which I need for some future plans). Is it possible to run that program with that database on a Raspberry Pi without adding more swap (with >1 GB …
Linux Installation libX11-devel
I am trying to build QT4 (porting from Redhat 5 to 7 with an upgraded gcc compiler) in RedHat 7 and I was getting an error saying X11/Xlib.h can’t be found. Anyways, after doing some research most people said to install libX11-devel to get those x11 libraries. Since I am using an offline machine I can&#…