Skip to content

Instantly share code, notes, and snippets.

View ali-arslan's full-sized avatar

Ali Arslan ali-arslan

View GitHub Profile
@ali-arslan
ali-arslan / rxs.rb
Created November 11, 2018 21:52
Pattern matching and aggregation results for Android malware detection
Base = '/home/aliarslan/Desktop/AnzhiMalware/knownSames/Revmob.A/'
GL = "/home/aliarslan/paper93/artifact/binary/"
# dirNames = File.read(base+'list.txt').split("\n").reject { |c| c.empty? } # contains list of dirs
# dirNames = ['Encoded_-_Full_Version', 'Increase_WIFI_Speed_Booster']
dirNames = ['Hungry_Shark_Guide_And_Tips', 'The_Sims_3_University_Life_Video']
def cflArray name
typeerrors = File.read(Base+name+"/type_errors.txt").split("\n").reject { |c| c.empty? } # contains list of dirs
@ali-arslan
ali-arslan / Database requirements stuff
Last active August 29, 2015 14:17
Database stuff
USERS
Name
UserID
Email
Number
Address
Credits (current amount of money loaded into system)
Status (Active, Locked)
etc. add whatever personal information you feel suitable
#ifndef __TREE_CPP
#define __LIST_CPP
#include <fstream>
#include <queue>
#include <cstdlib>
#include <deque>
#include <list>
#include "tree.h"
Tree::Tree()