Coder Social home page Coder Social logo

BTF not support, please check it about ecapture HOT 4 CLOSED

gojue avatar gojue commented on June 20, 2024
BTF not support, please check it

from ecapture.

Comments (4)

stevenlee87 avatar stevenlee87 commented on June 20, 2024

cat /boot/config-uname -r | grep CONFIG_DEBUG_INFO_BTF
No output

from ecapture.

flyer5200 avatar flyer5200 commented on June 20, 2024

maybe you need to recompile the kernel with option: CONFIG_DEBUG_INFO_BTF=y
refer to this guide kernel config:CONFIG_DEBUG_INFO_BTF=y

from ecapture.

cfc4n avatar cfc4n commented on June 20, 2024

You can compile it yourself on the current system with command make nocore

from ecapture.

stevenlee87 avatar stevenlee87 commented on June 20, 2024

I installed the following software environment:
yum install clang
yum install llvm
go version go1.18.3 linux/amd64

git clone https://github.com/ehids/ecapture.git
cd ecapture
make nocore
cp ecapture /usr/bin/

ecapture --help
NAME:
ecapture - capture text SSL content without CA cert by ebpf hook.

USAGE:
ecapture [flags]

VERSION:
[NO_CO_RE]:--

COMMANDS:
bash capture bash command
help Help about any command
mysqld capture sql queries from mysqld 5.6/5.7/8.0 .
postgres capture sql queries from postgres 10+.
tls alias name:openssl , use to capture tls/ssl text content without CA cert.

DESCRIPTION:
eCapture is a tool that can capture plaintext packets
such as HTTPS and TLS without installing a CA certificate.
It can also capture bash commands, which is suitable for
security auditing scenarios, such as database auditing of mysqld, etc.

Repository: https://github.com/ehids/ecapture

OPTIONS:
-d, --debug[=false] enable debug logging
-h, --help[=false] help for ecapture
--hex[=false] print byte strings as hex encoded strings
--nosearch[=false] no lib search
-p, --pid=0 if pid is 0 then we target all pids

from ecapture.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.