Category : linux-kernel

Recently I ran a python script. It’s run on a pandas dataframe with nearly 70000 rows and calls a local server request in the apply function. I used Pool to concurrent this script with the below method: from multiprocessing import Pool def parallelize_dataframe(df, func, n_cores=4): df_split = np.array_split(df, n_cores) pool = Pool(n_cores) df = pd.concat(pool.map(func, ..

Read more

I tried to create a function ,in my module, that every time , when the system call sys_exit is called. So it will print the pid of the process that the user tried to stop (by press ctr+C, ctr+Z or something else). asmlinkage long our_sys_exit(struct pt_regs *t) { printk("pid is %d n",current->pid); return older_sys_exit(t); } ..

Read more

meterpreter command command execution failed I have created a payload using msfvenom and downloaded to android phone, and after that I started msfconsole (Metasploit Framework), now I am connected to the victim phone (mine own andorid phone) using android/meterpreter/reverse_tcp. I am able to run all meterpreter commands but while executing play command, it throws an ..

Read more