cSploit / android

cSploit - The most complete and advanced IT security professional toolkit on Android.
http://www.csploit.org/
GNU General Public License v3.0
3.26k stars 1.1k forks source link

HTP android.... #1132

Open Jackson070919 opened 1 year ago

Jackson070919 commented 1 year ago

DEVICE:

name end

def ==(o)
    o.class == self.class and o.name == self.name
end

end

class Library < ObjectTarget attr_accessor :unknown,:warned,:shared

def initialize()
    super
    @unknown=[]
    @warned=false
    @shared=false
    @srcs=nil
end

def to_s
    libname
end

def libname
    @name.sub(/.*\//,'').sub(/\..*$/,'')
end

end

class Executable < Library

def exename
    libname
end

end

static variables...

def cflags_re / (-[Df] ?[^ ]+)/ end def ldflags_re / (-(rdynamic|s|static|static-libgcc|static-libstdc++|shared|shared-libgcc|symbolic) )/ end def ldflags_opt_re / (-(Wl,|Xlinker|u) ?[^ ]+)/ end def include_re / -I([^ ]+)/ end def topwd_re /#{File.absolute_path(Dir.pwd).sub(/\/[^\/]+$/,'')+'/'}/ end def libs_re / -l([^\s]+)/ end def libsearch_re / -L([^\s]+)/ end def abslib_re /\/[^\s]+.(a|so(.[0-9]+)*)/ end def system_libs ["m","z","c","dl","stc++","gcc","gnustl_static","stlport_static","gnustl_shared","stlport_shared"] end def system_includes /sources\/cxx-stl\// end def system_cflags ["-fpie","-fpic","-fPIE","-fPIC"] end def system_ldflags ["-static","-shared"] end def extra_cflags ["-ffunction-sections", "-fdata-sections"] end def extra_ldflags [" -Wl,--gc-sections","-static"] end def cd_re /^cd\s+(?

[^; ]+)/ end def pwd_re /#{Dir.pwd}\// end def temp_cd_re /^cd\s+[^\s]+\s+&&\s+[^ ]+\s/ end OS version:

cSploit version:

busybox (installed or not):

Rooted with supersu?

logcat (filter it!): How-to guide


Daemon specific questions

Go version:

OS:

Using Docker (incase of unofficial build.)

Actions performed:

Logs:

Issue: Remember to search for issues alike before creating new one!