coolboy4me / cve-2019-0708_bluekeep_rce Goto Github PK
View Code? Open in Web Editor NEWit works on xp (all version sp2 sp3)
it works on xp (all version sp2 sp3)
root@saya:/newtest/cve-2019-0708_bluekeep_rce-master/rdesktop-1.5.0# make
gcc -g -Wall -I/usr/include -DPACKAGE_NAME="rdesktop" -DPACKAGE_TARNAME="rdesktop" -DPACKAGE_VERSION="1.5.0" -DPACKAGE_STRING="rdesktop\ 1.5.0" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DL_ENDIAN=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_LOCALE_H=1 -DHAVE_LANGINFO_H=1 -Dssldir="/usr" -DEGD_SOCKET="/var/run/egd-pool" -DWITH_RDPSND=1 -DHAVE_DIRENT_H=1 -DHAVE_DIRFD=1 -DHAVE_DECL_DIRFD=1 -DHAVE_ICONV_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_MOUNT_H=1 -DSTAT_STATVFS=1 -DHAVE_STRUCT_STATVFS_F_NAMEMAX=1 -DHAVE_STRUCT_STATFS_F_NAMELEN=1 -DHAVE_MNTENT_H=1 -DHAVE_SETMNTENT=1 -DKEYMAP_PATH="/usr/local/share/rdesktop/keymaps/" -o secure.o -c secure.c
secure.c: In function ‘sec_rsa_encrypt’:
secure.c:305:9: error: storage size of ‘mod’ isn’t known
BIGNUM mod, exp, x, y;
^~~
secure.c:305:14: error: storage size of ‘exp’ isn’t known
BIGNUM mod, exp, x, y;
^~~
secure.c:305:19: error: storage size of ‘x’ isn’t known
BIGNUM mod, exp, x, y;
^
secure.c:305:22: error: storage size of ‘y’ isn’t known
BIGNUM mod, exp, x, y;
^
secure.c:315:2: warning: implicit declaration of function ‘BN_init’; did you mean ‘ui_init’? [-Wimplicit-function-declaration]
BN_init(&mod);
^~~~~~~
ui_init
secure.c:305:22: warning: unused variable ‘y’ [-Wunused-variable]
BIGNUM mod, exp, x, y;
^
secure.c:305:19: warning: unused variable ‘x’ [-Wunused-variable]
BIGNUM mod, exp, x, y;
^
secure.c:305:14: warning: unused variable ‘exp’ [-Wunused-variable]
BIGNUM mod, exp, x, y;
^~~
secure.c:305:9: warning: unused variable ‘mod’ [-Wunused-variable]
BIGNUM mod, exp, x, y;
^~~
secure.c: In function ‘sec_parse_x509_key’:
secure.c:537:22: error: dereferencing pointer to incomplete type ‘X509’ {aka ‘struct x509_st’}
if (OBJ_obj2nid(cert->cert_info->key->algor->algorithm) == NID_md5WithRSAEncryption)
^
secure.c:550:50: error: dereferencing pointer to incomplete type ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
server_public_key = RSAPublicKey_dup((RSA *) epk->pkey.ptr);
^~
secure.c: In function ‘sec_parse_crypt_info’:
secure.c:653:32: warning: passing argument 2 of ‘d2i_X509’ from incompatible pointer type [-Wincompatible-pointer-types]
ignorecert = d2i_X509(NULL, &(s->p), ignorelen);
^~~~~~~
In file included from /usr/local/include/openssl/objects.h:15,
from /usr/local/include/openssl/evp.h:28,
from /usr/local/include/openssl/x509.h:18,
from /usr/local/include/openssl/x509v3.h:14,
from secure.c:27:
/usr/local/include/openssl/x509.h:551:1: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
DECLARE_ASN1_FUNCTIONS(X509)
^~~~~~~~~~~~~~~~~~~~~~
secure.c:677:27: warning: passing argument 2 of ‘d2i_X509’ from incompatible pointer type [-Wincompatible-pointer-types]
cacert = d2i_X509(NULL, &(s->p), cacert_len);
^~~~~~~
In file included from /usr/local/include/openssl/objects.h:15,
from /usr/local/include/openssl/evp.h:28,
from /usr/local/include/openssl/x509.h:18,
from /usr/local/include/openssl/x509v3.h:14,
from secure.c:27:
/usr/local/include/openssl/x509.h:551:1: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
DECLARE_ASN1_FUNCTIONS(X509)
^~~~~~~~~~~~~~~~~~~~~~
secure.c:700:32: warning: passing argument 2 of ‘d2i_X509’ from incompatible pointer type [-Wincompatible-pointer-types]
server_cert = d2i_X509(NULL, &(s->p), cert_len);
^~~~~~~
In file included from /usr/local/include/openssl/objects.h:15,
from /usr/local/include/openssl/evp.h:28,
from /usr/local/include/openssl/x509.h:18,
from /usr/local/include/openssl/x509v3.h:14,
from secure.c:27:
/usr/local/include/openssl/x509.h:551:1: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
DECLARE_ASN1_FUNCTIONS(X509)
^~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:167:secure.o] error 1
Make error:
gcc -g -O2 -Wall -I/usr/include -DPACKAGE_NAME=\"rdesktop\" -DPACKAGE_TARNAME=\"rdesktop\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"rdesktop\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DL_ENDIAN=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_LOCALE_H=1 -DHAVE_LANGINFO_H=1 -Dssldir=\"/usr\" -DEGD_SOCKET=\"/var/run/egd-pool\" -DWITH_RDPSND=1 -DHAVE_DIRENT_H=1 -DHAVE_DIRFD=1 -DHAVE_DECL_DIRFD=1 -DHAVE_ICONV_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_MOUNT_H=1 -DSTAT_STATVFS=1 -DHAVE_STRUCT_STATVFS_F_NAMEMAX=1 -DHAVE_STRUCT_STATFS_F_NAMELEN=1 -DHAVE_MNTENT_H=1 -DHAVE_SETMNTENT=1 -DKEYMAP_PATH=\"/usr/local/share/rdesktop/keymaps/\" -o rdesktop rdesktop.o xwin.o xkeymap.o
ewmhints.o xclip.o cliprdr.o rdpsnd.o rdpsnd_oss.o tcp.o iso.o mcs.o secure.o licence.o rdp.o orders.o bitmap.o cache.o rdp5.o channels.o rdpdr.o serial.o printer.o disk.o parallel.o printercache.o mppc.o pstcache.o lspci.o seamless.o -L/usr/lib -lcrypto -lX11
/usr/bin/ld: rdesktop.o: in function `main':
/root/cve-2019-0708_bluekeep_rce/rdesktop-1.5.0/rdesktop.c:879: undefined reference to `mst120_check_init'
/usr/bin/ld: orders.o: in function `process_memblt':
/root/cve-2019-0708_bluekeep_rce/rdesktop-1.5.0/orders.c:414: undefined reference to `mst120_check'
collect2: error: ld returned 1 exit status
make: *** [Makefile:36: rdesktop] Error 1
'0x953b09c0' which 2003 version did you get?
I don't know how to use it. I hope I can do a video using process. Thank you!
Autoselected keyboard map en-us
[+] Registering MS_T120 channel.
ERROR: connect: Connection refused
xp sp2 xp sp3
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.