Skip to content

Commit f48f96d

Browse files
committed
filezilla bug fixed
1 parent 0aec8d4 commit f48f96d

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

passcat/libfilezilla.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,11 @@ static void _print_passwords(std::wstring filename, std::wstring XPATH) {
4545
BYTE* decoded = 0;
4646
DWORD decodedLen = 0;
4747

48-
if (!CryptStringToBinaryW(list->item[i]->selectSingleNode("Pass")->text, 0, CRYPT_STRING_BASE64, NULL, &decodedLen, NULL, NULL)) {
48+
if (list->item[i]->selectSingleNode("Pass") == NULL) {
49+
std::wcout << std::endl;
50+
continue;
51+
}
52+
else if (!CryptStringToBinaryW(list->item[i]->selectSingleNode("Pass")->text, 0, CRYPT_STRING_BASE64, NULL, &decodedLen, NULL, NULL)) {
4953
std::wcout << std::endl;
5054
continue;
5155
}

passcat/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#include "libpasscat.h"
2929
#include "config.h"
3030

31-
#define VERSION "1.0"
31+
#define VERSION "1.1"
3232

3333
int main(int argc, char *argv[])
3434
{

0 commit comments

Comments
 (0)