Git Product home page Git Product logo

blocksword's People

Contributors

yixuanzi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

blocksword's Issues

没编译成功...

[root@localhost BlackSword]# make
gcc -c -I include abuse/abuse.c -o abuse.o
gcc -c -I include abuse/abuse_http.c -o abuse_http.o
gcc -c -I include abuse/abuse_icmp.c -o abuse_icmp.o
abuse/abuse_icmp.c:5:23: 警告:‘struct icmpp’在形参表内部声明 [默认启用]
 int abuse_icmp(struct icmpp *icmp){
                       ^
abuse/abuse_icmp.c:5:23: 警告:它的作用域仅限于此定义或声明,这可能并不是您想要的 [默认启用]
gcc -c -I include abuse/abuse_tcp.c -o abuse_tcp.o
gcc -c -I include abuse/abuse_udp.c -o abuse_udp.o
abuse/abuse_udp.c:5:22: 警告:‘struct udpp’在形参表内部声明 [默认启用]
 int abuse_udp(struct udpp *udp){
                      ^
abuse/abuse_udp.c:5:22: 警告:它的作用域仅限于此定义或声明,这可能并不是您想要的 [默认启用]
gcc -c -I include analysis/derule.c -o derule.o
gcc -c -I include analysis/func.c -o func.o
gcc -c -I include analysis/http.c -o http.o
gcc -c -I include analysis/icmp.c -o icmp.o
gcc -c -I include analysis/ip.c -o ip.o
gcc -c -I include analysis/pdata.c -o pdata.o
gcc -c -I include analysis/sysconfig.c -o sysconfig.o
gcc -c -I include analysis/tcp.c -o tcp.o
gcc -c -I include analysis/udp.c -o udp.o
analysis/udp.c: 在函数‘udp_getstruct’中:
analysis/udp.c:12:5: 警告:从不兼容的指针类型赋值 [默认启用]
  udp=(struct tcpp *)((uchar*)ip+l);
     ^
gcc -c -I include main/main.c -o main.o
gcc -c -I include pcap/bspcap.c -o bspcap.o
pcap/bspcap.c: 在函数‘run’中:
pcap/bspcap.c:37:3: 警告:隐式声明与内建函数‘exit’不兼容 [默认启用]
   exit(1);
   ^
pcap/bspcap.c: 在函数‘packet_handler’中:
pcap/bspcap.c:119:2: 警告:隐式声明与内建函数‘memcpy’不兼容 [默认启用]
  memcpy(data,pkt_data,header->caplen);
  ^
ld -o bs abuse.o abuse_http.o abuse_icmp.o abuse_tcp.o abuse_udp.o derule.o func.o http.o icmp.o ip.o pdata.o sysconfig.o tcp.o udp.o main.o bspcap.o -lpcap
ld: derule.o: undefined reference to symbol 'strcpy@@GLIBC_2.2.5'
/usr/lib64/libc.so.6: error adding symbols: DSO missing from command line
make: *** [bs] 错误 1

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.