User Activity

  • Posted a comment on ticket #77 on Winexe

    The original instructions included this (when you're under the reevert-winexe-waf directory): rm -r source/smb_static ...and then a few steps later: cd source && ln -s ../samba/bin/default/smb_static That works for sure assuming you're properly extracted and renamed the samba directory under reevert-winexe-waf.

  • Posted a comment on ticket #77 on Winexe

    For anyone interested in using Alan's SMB2 versoin, I've posted a revised version of the smb2_nognutls_noaddc.patch that addresses both issue #1 as well as issue #2 that I just opened here: https://bitbucket.org/reevertcode/reevert-winexe-waf/issues An unrelated change that you may want is this change to use winexesvc as the disaplay name pf the service: --- winexe-waf/source/winexesvc.h 2018-09-12 09:38:13.624624305 -0400 +++ winexe-waf.patched/source/winexesvc.h 2018-09-12 09:39:56.181877807 -0400...

  • Posted a comment on ticket #77 on Winexe

    Others may want to note that the current git version of this has logging to C:\winexesvc.log enabled. I disabled it with this: --- reevert-winexe-waf/source/winexesvc_launch.c-orig 2018-05-17 13:44:06.777462929 -0400 +++ reevert-winexe-waf/source/winexesvc_launch.c 2018-05-17 13:44:23.448521569 -0400 @@ -12,7 +12,7 @@ #include "winexesvc.h" -#if 1 +#if 0 #define dbg(arg...) \ ({\ FILE *f = fopen("C:\\" SERVICE_NAME ".log", "at");\

  • Posted a comment on ticket #77 on Winexe

    Just to clarify one thing: Am I correct in that, based on the patches applied, this can be compiled for either SMB1 only, or SMB2 only...that is for example that the SMB2 version can't possibly work with SMB1? Just wanted to make sure I had that right.

  • Posted a comment on ticket #77 on Winexe

    I can also confirm that this compiles and works with the SMB2 patches compiling under CentOS 6, and the resulting static binary works under CentOS 6 as well as jessie. Thank you Alan for sure!

  • Posted a comment on ticket #77 on Winexe

    I've installed samba 4.5 from source under CentOS 6.8 and am attempting to compile Mike Ridley's version dynamically. I've installed under /usr/local/samba, and seem to be running into configure errors I can't resolve, especially on libraries that installed under /usr/local/samba/lib/private. One example is getting this in the log: Checking for library cli-ldap-samba4 : not found Checking for library :libcli-ldap-samba4.so.0 : not found ['/usr/bin/gcc', 'test.c.1.o', '-o', '/root/winexe/u-markr123-winexe/source/build/.conf_check_62e2888926183ee9a90e507eddf5c2a5/testbuild/testprog',...

  • Posted a comment on ticket #77 on Winexe

    Correction to the above regarding psexec.py (apologies for the OT): I discovered that it was simply exiting with ErrorCode but not the ReturnCode. That aside, it seems that some things that work with winexe behave very strangely with it. For example, running simple commands with SQLCMD seems to output literal backspace characters or even nothing at all. Still looking into the command length issues.

  • Posted a comment on ticket #77 on Winexe

    Like others I've done a lot of testing with the Impacket psexec.py. I've been able to modify that to allow a static service and executable name rather than the random name. I've also been able to allow it to leave the service installed and have it check for the already existing service etc. With the latter, simultaneous commands seem pretty reliable. However I've run into enough nasty bugs to make it unusable as it stands. Just like BorderlineADD I've found that it fails all the time with commands...

View All

Personal Data

Username:
tlathm
Joined:
2017-09-08 17:07:16

Projects

  • No projects to display.

Personal Tools