Use libSSH 0.7.2 compiled with MinGW(32|64) and linked with zlib and gcrypt support
Change-Id: I7c17d1ba3dd1890e2f83c119f5ea851834807e43
Reviewed-on: https://code.wireshark.org/review/12117
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
18 files changed:
${CMAKE_BINARY_DIR}/doc/androiddump.html
${CMAKE_BINARY_DIR}/doc/capinfos.html
${CMAKE_BINARY_DIR}/doc/captype.html
${CMAKE_BINARY_DIR}/doc/androiddump.html
${CMAKE_BINARY_DIR}/doc/capinfos.html
${CMAKE_BINARY_DIR}/doc/captype.html
+ ${CMAKE_BINARY_DIR}/doc/ciscodump.html
${CMAKE_BINARY_DIR}/doc/dftest.html
${CMAKE_BINARY_DIR}/doc/dumpcap.html
${CMAKE_BINARY_DIR}/doc/editcap.html
${CMAKE_BINARY_DIR}/doc/dftest.html
${CMAKE_BINARY_DIR}/doc/dumpcap.html
${CMAKE_BINARY_DIR}/doc/editcap.html
$(MAKE) /$(MAKEFLAGS) /f Makefile.nmake librandpkt_core.lib
cd ..
$(MAKE) /$(MAKEFLAGS) /f Makefile.nmake librandpkt_core.lib
cd ..
cd extcap
$(MAKE) /$(MAKEFLAGS) /f Makefile.nmake all
cd ..
cd extcap
$(MAKE) /$(MAKEFLAGS) /f Makefile.nmake all
cd ..
!ENDIF
!IFDEF LIBSSH_DIR
@$(SH) $(WIN_SETUP) "$(WIN_SETUP_OPT)" "$(WIRESHARK_LIB_DIR)" \
!ENDIF
!IFDEF LIBSSH_DIR
@$(SH) $(WIN_SETUP) "$(WIN_SETUP_OPT)" "$(WIRESHARK_LIB_DIR)" \
- libssh-$(LIBSSH_PKG)-$(WIRESHARK_TARGET_PLATFORM)ws \
- libssh-$(LIBSSH_PKG)-$(WIRESHARK_TARGET_PLATFORM)ws.zip \
+ . \
+ libssh-0.7.2-$(WIRESHARK_TARGET_PLATFORM)ws.zip \
"$(DOWNLOAD_TAG)" "$(WIRESHARK_TARGET_PLATFORM)"
!ENDIF
!IFDEF WINSPARKLE_DIR
"$(DOWNLOAD_TAG)" "$(WIRESHARK_TARGET_PLATFORM)"
!ENDIF
!IFDEF WINSPARKLE_DIR
rm -r -f libsmi-0.4.5
rm -r -f libsmi-0.4.8
rm -r -f libsmi-svn-40773-win??ws
rm -r -f libsmi-0.4.5
rm -r -f libsmi-0.4.8
rm -r -f libsmi-svn-40773-win??ws
+ rm -r -f libssh-0.7.2-win??ws
rm -r -f nasm-2.00
rm -r -f nasm-2.02
rm -r -f nasm-2.09.08
rm -r -f nasm-2.00
rm -r -f nasm-2.02
rm -r -f nasm-2.09.08
if exist ".\extcap\randpktdump.pdb" xcopy ".\extcap\randpktdump.pdb" $(INSTALL_DIR)\extcap /d
if exist ".\extcap\sshdump.exe" xcopy ".\extcap\sshdump.exe" $(INSTALL_DIR)\extcap /d
if exist ".\extcap\sshdump.pdb" xcopy ".\extcap\sshdump.pdb" $(INSTALL_DIR)\extcap /d
if exist ".\extcap\randpktdump.pdb" xcopy ".\extcap\randpktdump.pdb" $(INSTALL_DIR)\extcap /d
if exist ".\extcap\sshdump.exe" xcopy ".\extcap\sshdump.exe" $(INSTALL_DIR)\extcap /d
if exist ".\extcap\sshdump.pdb" xcopy ".\extcap\sshdump.pdb" $(INSTALL_DIR)\extcap /d
+ if exist ".\extcap\ciscodump.exe" xcopy ".\extcap\ciscodump.exe" $(INSTALL_DIR)\extcap /d
+ if exist ".\extcap\ciscodump.pdb" xcopy ".\extcap\ciscodump.pdb" $(INSTALL_DIR)\extcap /d
if not exist $(INSTALL_DIR_QT)\extcap mkdir $(INSTALL_DIR_QT)\extcap
if exist ".\extcap\androiddump.exe" xcopy ".\extcap\androiddump.exe" $(INSTALL_DIR_QT)\extcap /d
if exist ".\extcap\androiddump.pdb" xcopy ".\extcap\androiddump.pdb" $(INSTALL_DIR_QT)\extcap /d
if not exist $(INSTALL_DIR_QT)\extcap mkdir $(INSTALL_DIR_QT)\extcap
if exist ".\extcap\androiddump.exe" xcopy ".\extcap\androiddump.exe" $(INSTALL_DIR_QT)\extcap /d
if exist ".\extcap\androiddump.pdb" xcopy ".\extcap\androiddump.pdb" $(INSTALL_DIR_QT)\extcap /d
if exist ".\extcap\randpktdump.pdb" xcopy ".\extcap\randpktdump.pdb" $(INSTALL_DIR_QT)\extcap /d
if exist ".\extcap\sshdump.exe" xcopy ".\extcap\sshdump.exe" $(INSTALL_DIR_QT)\extcap /d
if exist ".\extcap\sshdump.pdb" xcopy ".\extcap\sshdump.pdb" $(INSTALL_DIR_QT)\extcap /d
if exist ".\extcap\randpktdump.pdb" xcopy ".\extcap\randpktdump.pdb" $(INSTALL_DIR_QT)\extcap /d
if exist ".\extcap\sshdump.exe" xcopy ".\extcap\sshdump.exe" $(INSTALL_DIR_QT)\extcap /d
if exist ".\extcap\sshdump.pdb" xcopy ".\extcap\sshdump.pdb" $(INSTALL_DIR_QT)\extcap /d
+ if exist ".\extcap\ciscodump.exe" xcopy ".\extcap\ciscodump.exe" $(INSTALL_DIR_QT)\extcap /d
+ if exist ".\extcap\ciscodump.pdb" xcopy ".\extcap\ciscodump.pdb" $(INSTALL_DIR_QT)\extcap /d
if exist capinfos.exe xcopy capinfos.exe $(INSTALL_DIR) /d
if exist capinfos.pdb xcopy capinfos.pdb $(INSTALL_DIR) /d
if exist captype.exe xcopy captype.exe $(INSTALL_DIR) /d
if exist capinfos.exe xcopy capinfos.exe $(INSTALL_DIR) /d
if exist capinfos.pdb xcopy capinfos.pdb $(INSTALL_DIR) /d
if exist captype.exe xcopy captype.exe $(INSTALL_DIR) /d
CACHE PATH "Path to libssh DLL"
)
file(GLOB _libssh_dll RELATIVE "${LIBSSH_DLL_DIR}"
CACHE PATH "Path to libssh DLL"
)
file(GLOB _libssh_dll RELATIVE "${LIBSSH_DLL_DIR}"
- "${LIBSSH_DLL_DIR}/ssh.dll"
+ "${LIBSSH_DLL_DIR}/libssh.dll"
)
set(LIBSSH_DLL ${_libssh_dll}
# We're storing filenames only. Should we use STRING instead?
)
set(LIBSSH_DLL ${_libssh_dll}
# We're storing filenames only. Should we use STRING instead?
# If you don't have libssh, comment this line out so that LIBSSH_DIR
# isn't defined.
#
# If you don't have libssh, comment this line out so that LIBSSH_DIR
# isn't defined.
#
-#LIBSSH_DIR=$(WIRESHARK_LIB_DIR)\libssh-0.7.2
+LIBSSH_DIR=$(WIRESHARK_LIB_DIR)\libssh-0.7.2-win32ws
#
# Optional: the KFW library enables kerberos/sasl/dcerpc decryption.
#
# Optional: the KFW library enables kerberos/sasl/dcerpc decryption.
GPGERROR_DLL=libgpg-error6-0.dll
GCC_DLL=libgcc_s_seh-1.dll
GPGERROR_DLL=libgpg-error6-0.dll
GCC_DLL=libgcc_s_seh-1.dll
+#
+# Optional: libssh library is required for sshdump support
+#
+# If you don't have libssh, comment this line out so that LIBSSH_DIR
+# isn't defined.
+#
+LIBSSH_DIR=$(WIRESHARK_LIB_DIR)\libssh-0.7.2-win64ws
+
#
# Optional: the KFW library enables kerberos/sasl/dcerpc decryption.
#
#
# Optional: the KFW library enables kerberos/sasl/dcerpc decryption.
#
obj-*/doc/sshdump.1
obj-*/doc/randpktdump.1
obj-*/doc/editcap.1
obj-*/doc/sshdump.1
obj-*/doc/randpktdump.1
obj-*/doc/editcap.1
${CMAKE_CURRENT_BINARY_DIR}/androiddump.1
${CMAKE_CURRENT_BINARY_DIR}/capinfos.1
${CMAKE_CURRENT_BINARY_DIR}/captype.1
${CMAKE_CURRENT_BINARY_DIR}/androiddump.1
${CMAKE_CURRENT_BINARY_DIR}/capinfos.1
${CMAKE_CURRENT_BINARY_DIR}/captype.1
+ ${CMAKE_CURRENT_BINARY_DIR}/ciscodump.1
${CMAKE_CURRENT_BINARY_DIR}/dftest.1
${CMAKE_CURRENT_BINARY_DIR}/dumpcap.1
${CMAKE_CURRENT_BINARY_DIR}/editcap.1
${CMAKE_CURRENT_BINARY_DIR}/dftest.1
${CMAKE_CURRENT_BINARY_DIR}/dumpcap.1
${CMAKE_CURRENT_BINARY_DIR}/editcap.1
${CMAKE_CURRENT_BINARY_DIR}/androiddump.html
${CMAKE_CURRENT_BINARY_DIR}/capinfos.html
${CMAKE_CURRENT_BINARY_DIR}/captype.html
${CMAKE_CURRENT_BINARY_DIR}/androiddump.html
${CMAKE_CURRENT_BINARY_DIR}/capinfos.html
${CMAKE_CURRENT_BINARY_DIR}/captype.html
+ ${CMAKE_CURRENT_BINARY_DIR}/ciscodump.html
${CMAKE_CURRENT_BINARY_DIR}/dftest.html
${CMAKE_CURRENT_BINARY_DIR}/dumpcap.html
${CMAKE_CURRENT_BINARY_DIR}/editcap.html
${CMAKE_CURRENT_BINARY_DIR}/dftest.html
${CMAKE_CURRENT_BINARY_DIR}/dumpcap.html
${CMAKE_CURRENT_BINARY_DIR}/editcap.html
noinst_DATA = asn2deb.1 asn2deb.html idl2deb.1 idl2deb.html idl2wrs.1 idl2wrs.html
pkgdata_DATA = AUTHORS-SHORT $(top_srcdir)/docbook/ws.css wireshark.html \
noinst_DATA = asn2deb.1 asn2deb.html idl2deb.1 idl2deb.html idl2wrs.1 idl2wrs.html
pkgdata_DATA = AUTHORS-SHORT $(top_srcdir)/docbook/ws.css wireshark.html \
- tshark.html wireshark-filter.html capinfos.html editcap.html \
+ tshark.html wireshark-filter.html capinfos.html ciscodump.html editcap.html \
mergecap.html reordercap.html text2pcap.html dumpcap.html androiddump.html \
sshdump.html randpktdump.html rawshark.html dftest.html randpkt.html \
extcap.html
mergecap.html reordercap.html text2pcap.html dumpcap.html androiddump.html \
sshdump.html randpktdump.html rawshark.html dftest.html randpkt.html \
extcap.html
--noindex \
$(srcdir)/sshdump.pod > sshdump.html
--noindex \
$(srcdir)/sshdump.pod > sshdump.html
+ciscodump.html: ciscodump.pod ../config.h $(top_srcdir)/docbook/ws.css
+ $(AM_V_POD2HTML)$(POD2HTML) \
+ --title="ciscodump - The Wireshark Network Analyzer $(VERSION)" \
+ --css=$(POD_CSS_URL) \
+ --noindex \
+ $(srcdir)/ciscodump.pod > ciscodump.html
+
randpktdump.html: randpktdump.pod ../config.h $(top_srcdir)/docbook/ws.css
$(AM_V_POD2HTML)$(POD2HTML) \
--title="randpktdump - The Wireshark Network Analyzer $(VERSION)" \
randpktdump.html: randpktdump.pod ../config.h $(top_srcdir)/docbook/ws.css
$(AM_V_POD2HTML)$(POD2HTML) \
--title="randpktdump - The Wireshark Network Analyzer $(VERSION)" \
asn2deb.pod \
capinfos.pod \
captype.pod \
asn2deb.pod \
capinfos.pod \
captype.pod \
dfilter2pod.pl \
dftest.pod \
dumpcap.pod \
dfilter2pod.pl \
dftest.pod \
dumpcap.pod \
rawshark.pod \
reordercap.pod \
sgml.doc.template \
rawshark.pod \
reordercap.pod \
sgml.doc.template \
text2pcap.pod \
tshark.pod \
wireshark-filter.pod \
text2pcap.pod \
tshark.pod \
wireshark-filter.pod \
include ../config.nmake
doc: wireshark.html tshark.html wireshark-filter.html capinfos.html \
include ../config.nmake
doc: wireshark.html tshark.html wireshark-filter.html capinfos.html \
- editcap.html idl2wrs.html mergecap.html reordercap.html \
+ ciscodump.html editcap.html idl2wrs.html mergecap.html reordercap.html \
text2pcap.html dumpcap.html androiddump.html sshdump.html rawshark.html \
dftest.html randpkt.html randpktdump.html \
idl2deb.html asn2deb.html extcap.html
text2pcap.html dumpcap.html androiddump.html sshdump.html rawshark.html \
dftest.html randpkt.html randpktdump.html \
idl2deb.html asn2deb.html extcap.html
man: wireshark.1 tshark.1 wireshark-filter.4 capinfos.1 \
editcap.1 idl2wrs.1 mergecap.1 reordercap.1 \
text2pcap.1 dumpcap.1 androiddump.1 sshdump.1 rawshark.1 dftest.1 randpkt.1 \
man: wireshark.1 tshark.1 wireshark-filter.4 capinfos.1 \
editcap.1 idl2wrs.1 mergecap.1 reordercap.1 \
text2pcap.1 dumpcap.1 androiddump.1 sshdump.1 rawshark.1 dftest.1 randpkt.1 \
- idl2deb.1 asn2deb.1 extcap.4 randpktdump.1
+ idl2deb.1 asn2deb.1 extcap.4 randpktdump.1 ciscodump.1
wireshark.pod: wireshark.pod.template AUTHORS-SHORT-FORMAT
copy /B wireshark.pod.template + AUTHORS-SHORT-FORMAT wireshark.pod
wireshark.pod: wireshark.pod.template AUTHORS-SHORT-FORMAT
copy /B wireshark.pod.template + AUTHORS-SHORT-FORMAT wireshark.pod
--noindex \
sshdump.pod > sshdump.html
--noindex \
sshdump.pod > sshdump.html
+ciscodump.1: ciscodump.pod ../config.h
+ $(POD2MAN) \
+ --center="The Wireshark Network Analyzer" \
+ --release=$(VERSION) \
+ ciscodump.pod > ciscodump.1
+
+ciscodump.html: ciscodump.pod ../config.h ws.css
+ $(POD2HTML) \
+ --title="ciscodump - The Wireshark Network Analyzer $(VERSION)" \
+ --css=ws.css \
+ --noindex \
+ ciscodump.pod > ciscodump.html
+
randpktdump.1: randpktdump.pod ../config.h
$(POD2MAN) \
--center="The Wireshark Network Analyzer" \
randpktdump.1: randpktdump.pod ../config.h
$(POD2MAN) \
--center="The Wireshark Network Analyzer" \
&command_output, NULL, &exit_status, NULL);
if (status && exit_status == 0)
&command_output, NULL, &exit_status, NULL);
if (status && exit_status == 0)
- keep_going = cb(extcap_path->str, ifname, command_output, cb_data, err_str);
+ keep_going = cb(extcap_path->str, ifname, command_output, cb_data, err_str);
g_free(argv[0]);
g_free(command_output);
g_free(argv[0]);
g_free(command_output);
EXECUTABLES=androiddump.exe randpktdump.exe
!IFDEF LIBSSH_DIR
EXECUTABLES=androiddump.exe randpktdump.exe
!IFDEF LIBSSH_DIR
-EXECUTABLES += sshdump.exe ciscodump.exe
+EXECUTABLES = $(EXECUTABLES) sshdump.exe ciscodump.exe
!ENDIF
all: $(EXECUTABLES)
!ENDIF
all: $(EXECUTABLES)
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "ssh-base.h"
#include <extcap/extcap-base.h>
#include "ssh-base.h"
#include <extcap/extcap-base.h>
#include <extcap/extcap-base.h>
#include <wsutil/interface.h>
#include <extcap/extcap-base.h>
#include <wsutil/interface.h>
+#include <wsutil/file_util.h>
#include <extcap/ssh-base.h>
#include <errno.h>
#include <extcap/ssh-base.h>
#include <errno.h>
/* read from stdin until data are available */
do {
nbytes = ssh_channel_read(channel, buffer, SSH_READ_BLOCK_SIZE, 0);
/* read from stdin until data are available */
do {
nbytes = ssh_channel_read(channel, buffer, SSH_READ_BLOCK_SIZE, 0);
- if (write(fd, buffer, nbytes) != nbytes) {
+ if (ws_write(fd, buffer, nbytes) != nbytes) {
errmsg_print("ERROR reading: %s", g_strerror(errno));
return;
}
errmsg_print("ERROR reading: %s", g_strerror(errno));
return;
}
/* read loop finished... maybe something wrong happened. Read from stderr */
do {
nbytes = ssh_channel_read(channel, buffer, SSH_READ_BLOCK_SIZE, 1);
/* read loop finished... maybe something wrong happened. Read from stderr */
do {
nbytes = ssh_channel_read(channel, buffer, SSH_READ_BLOCK_SIZE, 1);
- if (write(STDERR_FILENO, buffer, nbytes) != nbytes) {
+ if (ws_write(STDERR_FILENO, buffer, nbytes) != nbytes) {
return;
}
} while(nbytes > 0);
return;
}
} while(nbytes > 0);
if (g_strcmp0(fifo, "-")) {
/* Open or create the output file */
if (g_strcmp0(fifo, "-")) {
/* Open or create the output file */
- fd = open(fifo, O_WRONLY);
+ fd = ws_open(fifo, O_WRONLY, 0640);
- fd = open(fifo, O_WRONLY | O_CREAT, 0640);
+ fd = ws_open(fifo, O_WRONLY | O_CREAT, 0640);
if (fd == -1) {
errmsg_print("Error creating output file: %s", g_strerror(errno));
return EXIT_FAILURE;
if (fd == -1) {
errmsg_print("Error creating output file: %s", g_strerror(errno));
return EXIT_FAILURE;
ssh_cleanup(&sshs, &channel);
if (g_strcmp0(fifo, "-"))
ssh_cleanup(&sshs, &channel);
if (g_strcmp0(fifo, "-"))
printf(" --remote-filter <filter>: a filter for remote capture (default: don't listen on local local interfaces IPs)\n");
}
printf(" --remote-filter <filter>: a filter for remote capture (default: don't listen on local local interfaces IPs)\n");
}
-static char* interfaces_list_to_filter(GSList* interfaces, unsigned int remote_port)
+static char* interfaces_list_to_filter(GSList* interfaces, const unsigned int remote_port)
{
GString* filter = g_string_new(NULL);
GSList* cur;
{
GString* filter = g_string_new(NULL);
GSList* cur;
set(_all_manifest "${CMAKE_CURRENT_BINARY_DIR}/all-manifest.nsh")
set(_all_manifest_contents "# Files required for all sections. Generated by CMake.\n")
foreach(_dll ${GLIB2_DLLS} ${CARES_DLL} ${GCRYPT_DLLS} ${GEOIP_DLL}
set(_all_manifest "${CMAKE_CURRENT_BINARY_DIR}/all-manifest.nsh")
set(_all_manifest_contents "# Files required for all sections. Generated by CMake.\n")
foreach(_dll ${GLIB2_DLLS} ${CARES_DLL} ${GCRYPT_DLLS} ${GEOIP_DLL}
- ${GNUTLS_DLLS} ${KERBEROS_DLLS} ${LUA_DLL} ${SMI_DLL}
+ ${GNUTLS_DLLS} ${KERBEROS_DLLS} ${LUA_DLL} ${SMI_DLL} ${LIBSSH_DLL}
${WINSPARKLE_DLL} ${ZLIB_DLL}
)
set(_all_manifest_contents "${_all_manifest_contents}File \"\${STAGING_DIR}\\${_dll}\"\n")
${WINSPARKLE_DLL} ${ZLIB_DLL}
)
set(_all_manifest_contents "${_all_manifest_contents}File \"\${STAGING_DIR}\\${_dll}\"\n")
DOC=../../doc/ws.css \
../../doc/androiddump.html \
../../doc/capinfos.html \
DOC=../../doc/ws.css \
../../doc/androiddump.html \
../../doc/capinfos.html \
+ ../../doc/ciscodump.html \
../../doc/dumpcap.html \
../../doc/editcap.html \
../../doc/extcap.html \
../../doc/mergecap.html \
../../doc/randpktdump.html \
../../doc/rawshark.html \
../../doc/dumpcap.html \
../../doc/editcap.html \
../../doc/extcap.html \
../../doc/mergecap.html \
../../doc/randpktdump.html \
../../doc/rawshark.html \
+ ../../doc/sshdump.html \
../../doc/text2pcap.html \
../../doc/tshark.html \
../../doc/wireshark-filter.html \
../../doc/text2pcap.html \
../../doc/tshark.html \
../../doc/wireshark-filter.html \
$(STAGING_DIR)/README.txt \
$(STAGING_DIR)/README.windows.txt
$(STAGING_DIR)/README.txt \
$(STAGING_DIR)/README.windows.txt
-#WIP: uncomment and add to the above when sshdump on windows will be ready to go
-#../../doc/sshdump.html
-
GPL=../../COPYING
HELP=$(STAGING_DIR)/help/capture_filters.txt \
$(STAGING_DIR)/help/capturing.txt \
GPL=../../COPYING
HELP=$(STAGING_DIR)/help/capture_filters.txt \
$(STAGING_DIR)/help/capturing.txt \
@echo # SMI >> $@
@echo File "$(STAGING_DIR)\libsmi-2.dll" >> $@
!ENDIF
@echo # SMI >> $@
@echo File "$(STAGING_DIR)\libsmi-2.dll" >> $@
!ENDIF
+!IFDEF LIBSSH_DIR
+ @echo File "$(STAGING_DIR)\libssh.dll" >> $@
+!ENDIF
!IFDEF WINSPARKLE_DIR
@echo # WinSparkle >> $@
@echo File "$(STAGING_DIR)\WinSparkle.dll" >> $@
!IFDEF WINSPARKLE_DIR
@echo # WinSparkle >> $@
@echo File "$(STAGING_DIR)\WinSparkle.dll" >> $@
Push "${EXECUTABLE_MARKER}"
Push "androiddump"
Push "${EXECUTABLE_MARKER}"
Push "androiddump"
-;WIP: uncomment when sshdump on windows will be ready to go
-;Push "sshdump"
+Push "ciscodump"
+Push "sshdump"
Push "dumpcap"
Push "${PROGRAM_NAME}"
Push "tshark"
Push "dumpcap"
Push "${PROGRAM_NAME}"
Push "tshark"
Delete "$INSTDIR\etc\gtk-3.0\*.*"
Delete "$INSTDIR\etc\pango\*.*"
Delete "$INSTDIR\extcap\androiddump.*"
Delete "$INSTDIR\etc\gtk-3.0\*.*"
Delete "$INSTDIR\etc\pango\*.*"
Delete "$INSTDIR\extcap\androiddump.*"
-;WIP: uncomment when sshdump on windows will be ready to go
-;Delete "$INSTDIR\extcap\sshdump.*"
Delete "$INSTDIR\extcap\randpktdump.*"
Delete "$INSTDIR\extcap\randpktdump.*"
+Delete "$INSTDIR\extcap\sshdump.*"
+Delete "$INSTDIR\extcap\ciscodump.*"
Delete "$INSTDIR\help\*.*"
Delete "$INSTDIR\iconengines\*.*"
Delete "$INSTDIR\imageformats\*.*"
Delete "$INSTDIR\help\*.*"
Delete "$INSTDIR\iconengines\*.*"
Delete "$INSTDIR\imageformats\*.*"
File "${STAGING_DIR}\extcap\androiddump.exe"
SectionEnd
File "${STAGING_DIR}\extcap\androiddump.exe"
SectionEnd
-;WIP: uncomment this section when sshdump on windows will be ready to go
-;Section /o "Sshdump" SecSshdumpinfos
+Section /o "SSHdump" SecSSHdumpinfos
;-------------------------------------------
;-------------------------------------------
-;SetOutPath $INSTDIR
-;File "${STAGING_DIR}\sshdump.html"
-;SetOutPath $INSTDIR\extcap
-;File "${STAGING_DIR}\extcap\sshdump.exe"
-;SectionEnd
+SetOutPath $INSTDIR
+File "${STAGING_DIR}\sshdump.html"
+File "${STAGING_DIR}\ciscodump.html"
+SetOutPath $INSTDIR\extcap
+File "${STAGING_DIR}\extcap\sshdump.exe"
+File "${STAGING_DIR}\extcap\ciscodump.exe"
+SectionEnd
Section /o "Randpktdump" SecRandpktdumpinfos
;-------------------------------------------
Section /o "Randpktdump" SecRandpktdumpinfos
;-------------------------------------------
!insertmacro MUI_DESCRIPTION_TEXT ${SecToolsGroup} "Additional command line based tools."
!insertmacro MUI_DESCRIPTION_TEXT ${SecAndroiddumpinfos} "Provide capture interfaces from Android devices"
!insertmacro MUI_DESCRIPTION_TEXT ${SecToolsGroup} "Additional command line based tools."
!insertmacro MUI_DESCRIPTION_TEXT ${SecAndroiddumpinfos} "Provide capture interfaces from Android devices"
-;WIP: uncomment this section when sshdump on windows will be ready to go
-;!insertmacro MUI_DESCRIPTION_TEXT ${SecSshdumpinfos} "Provide remote capture through SSH"
+ !insertmacro MUI_DESCRIPTION_TEXT ${SecSSHdumpinfos} "Provide remote capture through SSH"
!insertmacro MUI_DESCRIPTION_TEXT ${SecRandpktdumpinfos} "Provide random packet generator"
!insertmacro MUI_DESCRIPTION_TEXT ${SecEditCap} "Copy packets to a new file, optionally trimmming packets, omitting them, or saving to a different format."
!insertmacro MUI_DESCRIPTION_TEXT ${SecText2Pcap} "Read an ASCII hex dump and write the data into a libpcap-style capture file."
!insertmacro MUI_DESCRIPTION_TEXT ${SecRandpktdumpinfos} "Provide random packet generator"
!insertmacro MUI_DESCRIPTION_TEXT ${SecEditCap} "Copy packets to a new file, optionally trimmming packets, omitting them, or saving to a different format."
!insertmacro MUI_DESCRIPTION_TEXT ${SecText2Pcap} "Read an ASCII hex dump and write the data into a libpcap-style capture file."
"gtk+-bundle_2.24.23-3.39_win64ws.zip" = "gtk2";
"kfw-3-2-2-x64-ws.zip" = "";
"libsmi-svn-40773-win64ws.zip" = "";
"gtk+-bundle_2.24.23-3.39_win64ws.zip" = "gtk2";
"kfw-3-2-2-x64-ws.zip" = "";
"libsmi-svn-40773-win64ws.zip" = "";
+ "libssh-0.7.2-win64ws.zip" = "";
"nasm-2.09.08-win32.zip" = "";
"portaudio_v19_2.zip" = "";
"upx303w.zip" = "";
"nasm-2.09.08-win32.zip" = "";
"portaudio_v19_2.zip" = "";
"upx303w.zip" = "";
"gtk+-bundle_2.24.23-1.1_win32ws.zip" = "gtk2";
"kfw-3-2-2-i386-ws-vc6.zip" = "";
"libsmi-svn-40773-win32ws.zip" = "";
"gtk+-bundle_2.24.23-1.1_win32ws.zip" = "gtk2";
"kfw-3-2-2-i386-ws-vc6.zip" = "";
"libsmi-svn-40773-win32ws.zip" = "";
+ "libssh-0.7.2-win32ws.zip" = "";
"nasm-2.09.08-win32.zip" = "";
"portaudio_v19_2.zip" = "";
"upx303w.zip" = "";
"nasm-2.09.08-win32.zip" = "";
"portaudio_v19_2.zip" = "";
"upx303w.zip" = "";
"lua5.2.?"
"libsmi-0.4.8"
"libsmi-svn-40773-win??ws"
"lua5.2.?"
"libsmi-0.4.8"
"libsmi-svn-40773-win??ws"
"nasm-2.09.08"
"portaudio_v19"
"portaudio_v19_2"
"nasm-2.09.08"
"portaudio_v19"
"portaudio_v19_2"
$${GNUTLS_DIR}/bin/libintl-8.dll $${SMI_DIR}/bin/libsmi-2.dll \
$${LUA_DIR}/lua52.dll \
$${GEOIP_DIR}/bin/libGeoIP-1.dll \
$${GNUTLS_DIR}/bin/libintl-8.dll $${SMI_DIR}/bin/libsmi-2.dll \
$${LUA_DIR}/lua52.dll \
$${GEOIP_DIR}/bin/libGeoIP-1.dll \
+ $${LIBSSH_DIR}/bin/libssh.dll \
$${WINSPARKLE_DIR}/WinSparkle.dll \
../../colorfilters ../../dfilters ../../cfilters
$${WINSPARKLE_DIR}/WinSparkle.dll \
../../colorfilters ../../dfilters ../../cfilters