-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Howto install Qira on ubuntu 20.04 #258
Comments
I tried to use this but I get this error:
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Can you please help me, I am n00b( |
weird, try to in the qira folder: if that does not work, im not sure ...maby you had installed pip2 already!? |
Yes, a have pip2 installed (I comment pip2 installation lines), but now I am getting another error: util/memfd.c:43:12: error: static declaration of ‘memfd_create’ follows non-static declaration |
from my 1st post :
|
I ended up just reinstalling my ubuntu vm and your patches are working! By the way, can you please make patch for kali? |
same works for kali linux also, u just need to grab these and install them before ... since they seem to have screwed up something about their python2 install. |
Man, that's works for kali! Thanks you a lot! |
These will not force python2, but use python3 only Grab and save to a folder. had to update some stuff in the requirements.txt qira-py39.txt Then :
OBVIOUSLY there might be some subtleties that im missing or have broken. use at own risk, same ofcourse goes for previously pasted patches... Sidenote: Something with the webserver/client/update part did not like this however :/ |
Apparently python-pip has been removed from the repositories for Ubuntu 20.04 and according to the install.sh script python-pip is being used may be that's the reason |
Thank you @smurfd your patch works on my Ubuntu 20.04 VM |
works on Ubuntu 21.04 as well. |
I created a fork with all patches applied. if someone doesn't want to manually patch qira and qemu just clone a1eaiactaest/qira and normally run |
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv |
@smurfd Do you have any idea if the integration (synchronization) with IDA requires an IDA PRO version (to use the plugin) to be installed on Linux or it is possible to use an IDA PRO on Windows which uses remote debugging connection? |
sorry i do not have a clue unfortunately. :( |
I'm having the same issue. Looks for ./configure file that does not exist. |
This is done on a fresh install of ubuntu 20.04 with installed git.
grab these :
qira-qemu.txt
qira.txt
git clone https://github.com/geohot/qira.git
cd qira
patch -p1 < ../qira.txt
install.sh will end in error : util/memfd.c:43:12: error: static declaration of ‘memfd_create’ follows non-static declaration
cd tracers/qemu/qemu
patch -p1 < ../../../../qira-qemu.txt
cd ../../..
./install.sh
Booom :)
The text was updated successfully, but these errors were encountered: