Comments (6)
I'm able to currently build the master branches sc_enum / sc_qtriggerinfo without changes. Yes those fields come from the windows headers
If I had to guess kali likely ships with an outdated version of mingw. Mine is listed below
The table on this page shows gcc -> mingw version mappings, with the mingw verison mapping making the difference for header includes
https://www.mingw-w64.org/downloads/
Can you validate that the mingw version is 8.0 or newer, and if not we've found why it's not compiling on your system.
from cs-situational-awareness-bof.
Using built-in specs.
COLLECT_GCC=x86_64-w64-mingw32-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-w64-mingw32/10-win32/lto-wrapper
Target: x86_64-w64-mingw32
Configured with: ../../src/configure --build=x86_64-linux-gnu --prefix=/usr --includedir='/usr/include' --mandir='/usr/share/man' --infodir='/usr/share/info' --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir='/usr/lib/x86_64-linux-gnu' --libexecdir='/usr/lib/x86_64-linux-gnu' --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --enable-shared --enable-static --disable-multilib --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --libdir=/usr/lib --enable-libstdcxx-time=yes --with-tune=generic --with-headers --enable-version-specific-runtime-libs --enable-fully-dynamic-string --enable-libgomp --enable-languages=c,c++,fortran,objc,obj-c++,ada --enable-lto --enable-threads=win32 --program-suffix=-win32 --program-prefix=x86_64-w64-mingw32- --target=x86_64-w64-mingw32 --with-as=/usr/bin/x86_64-w64-mingw32-as --with-ld=/usr/bin/x86_64-w64-mingw32-ld --enable-libatomic --enable-libstdcxx-filesystem-ts=yes --enable-dependency-tracking SED=/bin/sed
Thread model: win32
Supported LTO compression algorithms: zlib
gcc version 10-win32 20220324 (GCC) ```
from cs-situational-awareness-bof.
Package: mingw-w64
Version: 10.0.0-2
Priority: optional
Section: devel
Maintainer: Stephen Kitt <[email protected]>
Installed-Size: 48.1 kB
Depends: gcc-mingw-w64, g++-mingw-w64
Homepage: http://mingw-w64.sf.net
Tag: devel::buildtools, role::metapackage
Download-Size: 13.9 kB
APT-Manual-Installed: yes
APT-Sources: http://http.kali.org/kali kali-rolling/main amd64 Packages
Description: Development environment targeting 32- and 64-bit Windows
MinGW-w64 provides a development and runtime environment for 32- and
64-bit (x86 and x64) Windows applications using the Windows API and
the GNU Compiler Collection (gcc).
.
This metapackage provides the MinGW-w64 development environment,
including C and C++ compilers. Ada, Fortran, Objective-C and
Objective-C++ compilers are available respectively in the
gnat-mingw-w64, gfortran-mingw-w64, gobjc-mingw-w64 and
gojbc++-mingw-w64 packages.
from cs-situational-awareness-bof.
Went on a wild goose chase, but now I fully understand what's going on.
So yes actually your version of mingw is newer then mine and now defines SEVICE_CONFIG_TRIGGER_INFO as you stated, and it's mine that's older and does not.
I'll look into a better way to fix this, thanks for pointing it out!
from cs-situational-awareness-bof.
I just pushed a fix, feel free to re-open if it doesn't work for you.
Thanks again!
from cs-situational-awareness-bof.
TY!
from cs-situational-awareness-bof.
Related Issues (20)
- Tasklist BOF wasn't updated with latest WMI_Connect revision HOT 1
- cacls with just a directory crashes HOT 2
- Typo
- "dir" leaks handles HOT 1
- enumLocalSessions has no "help" entry
- I w
- Leak in _adcs_get_CertificateTemplateExtendedKeyUsages() of bstFriendlyName HOT 1
- Search other domains with `ldapsearch` HOT 2
- Issue with running BOF modules HOT 1
- netLocalGroupList function return very less information HOT 2
- Display PID for listening sockets at netstat HOT 5
- adcs_enum lists Domain Users group as having WriteProperty when they don't have that access HOT 4
- Netview_list missing? HOT 1
- Print AdsPath if DN is part of ldapsearch query
- bug in 'whoami' HOT 8
- adcs_enum add domain argument
- dir does not work on a remote computer HOT 2
- ldapsearch nTSecurityDescriptor attribute can only be read by domain admins, need to add LDAP server control for low-priv users HOT 2
- Remote wmi receives access denied after using make_token HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cs-situational-awareness-bof.