Open papuruth opened 6 years ago
same questions
same here
is some one knows that please tell us
😢😢
You have to compile it in Linux with the compiler that you need, for example:
My phone use armv7 processor so I need to compile with armhf compiler in Kali Linux
To compile just do:
./build.sh
PD: to use it in PostgreSQL server on a nethunter, you need to change the code, setting the key to IPC_PRIVATE in shmget function, line 115, before the if statement
/* Get shared memory segment. */
int shmget (key_t key, size_t size, int flags)
{
char buf[256];
int idx;
DBG ("%s: key %d size %zu flags 0%o (flags are ignored)", __PRETTY_FUNCTION__, key, size, flags);
key=IPC_PRIVATE;
if (key != IPC_PRIVATE)
...
}
But I don’t know the implications of this change
You have to compile it in Linux with the compiler that you need, for example:
My phone use armv7 processor so I need to compile with armhf compiler in Kali Linux
To compile just do:
./build.sh
PD: to use it in PostgreSQL server on a nethunter, you need to change the code, setting the key to IPC_PRIVATE in shmget function, line 115, before the if statement
/* Get shared memory segment. */ int shmget (key_t key, size_t size, int flags) { char buf[256]; int idx; DBG ("%s: key %d size %zu flags 0%o (flags are ignored)", __PRETTY_FUNCTION__, key, size, flags); key=IPC_PRIVATE; if (key != IPC_PRIVATE) ... }
But I don’t know the implications of this change
What to change everything is same
please tell me how to compile it i have tried many times but failed as i have to use in kali nethunter chrooted for running postgresql