forked from markus/S_New4
3.4.24
This commit is contained in:
parent
61547fa6da
commit
75f6cdf04e
50
S_New4.pro
Normal file
50
S_New4.pro
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
QT -= gui core
|
||||||
|
#CONFIG += -libstdc++ -static-libgcc #-static
|
||||||
|
|
||||||
|
|
||||||
|
#QT += core gui
|
||||||
|
#greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||||
|
|
||||||
|
#QT += webenginewidgets
|
||||||
|
|
||||||
|
#Linux:
|
||||||
|
unix: LIBS += -lcurl
|
||||||
|
|
||||||
|
#Windows
|
||||||
|
win32: LIBS += -L$${_PRO_FILE_PWD_}/lib/ -lcurl # 8.2.1
|
||||||
|
#win32: LIBS += -L$${_PRO_FILE_PWD_}\alt\ -lcurl # 7.64.1
|
||||||
|
|
||||||
|
|
||||||
|
CONFIG += c++17 console
|
||||||
|
CONFIG -= app_bundle
|
||||||
|
|
||||||
|
# The following define makes your compiler emit warnings if you use
|
||||||
|
# any Qt feature that has been marked deprecated (the exact warnings
|
||||||
|
# depend on your compiler). Please consult the documentation of the
|
||||||
|
# deprecated API in order to know how to port your code away from it.
|
||||||
|
DEFINES += QT_DEPRECATED_WARNINGS
|
||||||
|
|
||||||
|
# You can also make your code fail to compile if it uses deprecated APIs.
|
||||||
|
# In order to do so, uncomment the following line.
|
||||||
|
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
||||||
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
||||||
|
|
||||||
|
SOURCES += \
|
||||||
|
src/main.cpp \
|
||||||
|
src/pageManager.cpp \
|
||||||
|
src/parameterManager.cpp \
|
||||||
|
src/programManager.cpp \
|
||||||
|
src/accountManager.cpp \
|
||||||
|
src/logger.cpp
|
||||||
|
|
||||||
|
# Default rules for deployment.
|
||||||
|
qnx: target.path = /tmp/$${TARGET}/bin
|
||||||
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
||||||
|
!isEmpty(target.path): INSTALLS += target
|
||||||
|
|
||||||
|
HEADERS += \
|
||||||
|
src/pageManager.h \
|
||||||
|
src/parameterManager.h \
|
||||||
|
src/programManager.h \
|
||||||
|
src/accountManager.h \
|
||||||
|
src/logger.h
|
BIN
release/S_New4.exe
Normal file
BIN
release/S_New4.exe
Normal file
Binary file not shown.
92
release/libcurl-x64.def
Normal file
92
release/libcurl-x64.def
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
EXPORTS
|
||||||
|
curl_easy_cleanup @1
|
||||||
|
curl_easy_duphandle @2
|
||||||
|
curl_easy_escape @3
|
||||||
|
curl_easy_getinfo @4
|
||||||
|
curl_easy_header @5
|
||||||
|
curl_easy_init @6
|
||||||
|
curl_easy_nextheader @7
|
||||||
|
curl_easy_option_by_id @8
|
||||||
|
curl_easy_option_by_name @9
|
||||||
|
curl_easy_option_next @10
|
||||||
|
curl_easy_pause @11
|
||||||
|
curl_easy_perform @12
|
||||||
|
curl_easy_recv @13
|
||||||
|
curl_easy_reset @14
|
||||||
|
curl_easy_send @15
|
||||||
|
curl_easy_setopt @16
|
||||||
|
curl_easy_strerror @17
|
||||||
|
curl_easy_unescape @18
|
||||||
|
curl_easy_upkeep @19
|
||||||
|
curl_escape @20
|
||||||
|
curl_formadd @21
|
||||||
|
curl_formfree @22
|
||||||
|
curl_formget @23
|
||||||
|
curl_free @24
|
||||||
|
curl_getdate @25
|
||||||
|
curl_getenv @26
|
||||||
|
curl_global_cleanup @27
|
||||||
|
curl_global_init @28
|
||||||
|
curl_global_init_mem @29
|
||||||
|
curl_global_sslset @30
|
||||||
|
curl_maprintf @31
|
||||||
|
curl_mfprintf @32
|
||||||
|
curl_mime_addpart @33
|
||||||
|
curl_mime_data @34
|
||||||
|
curl_mime_data_cb @35
|
||||||
|
curl_mime_encoder @36
|
||||||
|
curl_mime_filedata @37
|
||||||
|
curl_mime_filename @38
|
||||||
|
curl_mime_free @39
|
||||||
|
curl_mime_headers @40
|
||||||
|
curl_mime_init @41
|
||||||
|
curl_mime_name @42
|
||||||
|
curl_mime_subparts @43
|
||||||
|
curl_mime_type @44
|
||||||
|
curl_mprintf @45
|
||||||
|
curl_msnprintf @46
|
||||||
|
curl_msprintf @47
|
||||||
|
curl_multi_add_handle @48
|
||||||
|
curl_multi_assign @49
|
||||||
|
curl_multi_cleanup @50
|
||||||
|
curl_multi_fdset @51
|
||||||
|
curl_multi_info_read @52
|
||||||
|
curl_multi_init @53
|
||||||
|
curl_multi_perform @54
|
||||||
|
curl_multi_poll @55
|
||||||
|
curl_multi_remove_handle @56
|
||||||
|
curl_multi_setopt @57
|
||||||
|
curl_multi_socket @58
|
||||||
|
curl_multi_socket_action @59
|
||||||
|
curl_multi_socket_all @60
|
||||||
|
curl_multi_strerror @61
|
||||||
|
curl_multi_timeout @62
|
||||||
|
curl_multi_wait @63
|
||||||
|
curl_multi_wakeup @64
|
||||||
|
curl_mvaprintf @65
|
||||||
|
curl_mvfprintf @66
|
||||||
|
curl_mvprintf @67
|
||||||
|
curl_mvsnprintf @68
|
||||||
|
curl_mvsprintf @69
|
||||||
|
curl_pushheader_byname @70
|
||||||
|
curl_pushheader_bynum @71
|
||||||
|
curl_share_cleanup @72
|
||||||
|
curl_share_init @73
|
||||||
|
curl_share_setopt @74
|
||||||
|
curl_share_strerror @75
|
||||||
|
curl_slist_append @76
|
||||||
|
curl_slist_free_all @77
|
||||||
|
curl_strequal @78
|
||||||
|
curl_strnequal @79
|
||||||
|
curl_unescape @80
|
||||||
|
curl_url @81
|
||||||
|
curl_url_cleanup @82
|
||||||
|
curl_url_dup @83
|
||||||
|
curl_url_get @84
|
||||||
|
curl_url_set @85
|
||||||
|
curl_url_strerror @86
|
||||||
|
curl_version @87
|
||||||
|
curl_version_info @88
|
||||||
|
curl_ws_meta @89
|
||||||
|
curl_ws_recv @90
|
||||||
|
curl_ws_send @91
|
BIN
release/libcurl-x64.dll
Normal file
BIN
release/libcurl-x64.dll
Normal file
Binary file not shown.
BIN
release/libgcc_s_seh-1.dll
Normal file
BIN
release/libgcc_s_seh-1.dll
Normal file
Binary file not shown.
BIN
release/libstdc++-6.dll
Normal file
BIN
release/libstdc++-6.dll
Normal file
Binary file not shown.
BIN
release/libwinpthread-1.dll
Normal file
BIN
release/libwinpthread-1.dll
Normal file
Binary file not shown.
@ -1,19 +0,0 @@
|
|||||||
QMAKE_CXX.QT_COMPILER_STDCXX = 199711L
|
|
||||||
QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 5
|
|
||||||
QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 5
|
|
||||||
QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0
|
|
||||||
QMAKE_CXX.COMPILER_MACROS = \
|
|
||||||
QT_COMPILER_STDCXX \
|
|
||||||
QMAKE_GCC_MAJOR_VERSION \
|
|
||||||
QMAKE_GCC_MINOR_VERSION \
|
|
||||||
QMAKE_GCC_PATCH_VERSION
|
|
||||||
QMAKE_CXX.INCDIRS = \
|
|
||||||
/home/markus/git/mxe/usr/lib/gcc/x86_64-w64-mingw32.static/5.5.0/include/c++ \
|
|
||||||
/home/markus/git/mxe/usr/lib/gcc/x86_64-w64-mingw32.static/5.5.0/include/c++/x86_64-w64-mingw32.static \
|
|
||||||
/home/markus/git/mxe/usr/lib/gcc/x86_64-w64-mingw32.static/5.5.0/include/c++/backward \
|
|
||||||
/home/markus/git/mxe/usr/lib/gcc/x86_64-w64-mingw32.static/5.5.0/include \
|
|
||||||
/home/markus/git/mxe/usr/lib/gcc/x86_64-w64-mingw32.static/5.5.0/include-fixed \
|
|
||||||
/home/markus/git/mxe/usr/x86_64-w64-mingw32.static/include
|
|
||||||
QMAKE_CXX.LIBDIRS = \
|
|
||||||
/home/markus/git/mxe/usr/lib/gcc/x86_64-w64-mingw32.static/5.5.0 \
|
|
||||||
/home/markus/git/mxe/usr/x86_64-w64-mingw32.static/lib
|
|
@ -230,7 +230,9 @@ Reply PageManager::getServerRequest(std::string protocol, std::string Url, bool
|
|||||||
curl_easy_cleanup(curl);
|
curl_easy_cleanup(curl);
|
||||||
|
|
||||||
|
|
||||||
if(returnUrl.find("/_ray/pow") != std::string::npos || readBuffer.find("<head><title>403 Forbidden</title></head>") != std::string::npos ) {
|
if(returnUrl.find("/_ray/pow") != std::string::npos
|
||||||
|
|| readBuffer.find("<head><title>403 Forbidden</title></head>") != std::string::npos
|
||||||
|
|| readBuffer.find("Diese Webseite ist aus urheberrechtlichen Gr") != std::string::npos ) {
|
||||||
std::cout << " \33[2K\r => CLOUD FLARE PROTECTION (Try " << rek_num << "/15)..." << std::flush;
|
std::cout << " \33[2K\r => CLOUD FLARE PROTECTION (Try " << rek_num << "/15)..." << std::flush;
|
||||||
usleep(400000);
|
usleep(400000);
|
||||||
|
|
||||||
@ -385,7 +387,7 @@ int PageManager::downLoadToFile(std::string filePath, std::string url, int rek_n
|
|||||||
return 12;
|
return 12;
|
||||||
} else if(url_after){
|
} else if(url_after){
|
||||||
|
|
||||||
if(std::string(url_after).find("/_ray/pow") != std::string::npos) {
|
if(std::string(url_after).find("/_ray/pow")) {
|
||||||
std::cout << " \33[2K\r => CLOUD FLARE PROTECTION (Try " << rek_num << "/15)..." << std::flush;
|
std::cout << " \33[2K\r => CLOUD FLARE PROTECTION (Try " << rek_num << "/15)..." << std::flush;
|
||||||
usleep(400000);
|
usleep(400000);
|
||||||
|
|
||||||
@ -496,14 +498,16 @@ checkNameRply PageManager::checkName(std::vector<PAGE> &pages, std::string Name,
|
|||||||
i--;
|
i--;
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
} else if( html.find("<!DOCTYPE html><html><head><title>DDOS-GUARD</title>") != std::string::npos ) {
|
} else if( html.find("<!DOCTYPE html><html><head><title>DDOS-GUARD</title>") != std::string::npos
|
||||||
|
|| html.find("Javascript notwendig, um diese Seite aufzurufen.") != std::string::npos ) {
|
||||||
std::cout << "\33[2K\r" <<" => WARNUNG: Die Seite : '" << pages.at(i).url << "' benötigt ein DDOS-GUARD hCaptcha!" << std::endl;
|
std::cout << "\33[2K\r" <<" => WARNUNG: Die Seite : '" << pages.at(i).url << "' benötigt ein DDOS-GUARD hCaptcha!" << std::endl;
|
||||||
// writeToFile( outPutFilePaths, html );
|
// writeToFile( outPutFilePaths, html );
|
||||||
pages.erase(pages.begin() + i);
|
pages.erase(pages.begin() + i);
|
||||||
i--;
|
i--;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
|
else if(html.find("online ansehen und streamen!") != std::string::npos) {
|
||||||
count ++;
|
count ++;
|
||||||
pagesonExist += pages.at(i).url + " ";
|
pagesonExist += pages.at(i).url + " ";
|
||||||
Page = pages.at(i);
|
Page = pages.at(i);
|
||||||
@ -523,6 +527,11 @@ checkNameRply PageManager::checkName(std::vector<PAGE> &pages, std::string Name,
|
|||||||
std::cout << "Nimm gleiche diese Seite, da useFirstPage auf true ist: " << pages.at(i).url << std::endl;
|
std::cout << "Nimm gleiche diese Seite, da useFirstPage auf true ist: " << pages.at(i).url << std::endl;
|
||||||
break; // nimm gleich das erste
|
break; // nimm gleich das erste
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
std::cout << "\33[2K\r" <<" => Unbekannter Fehler während Namenscheck aufgetreten! Serien: '" << Name << "'" << " Seite: " << pages.at(i).url << std::endl;
|
||||||
|
continue;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ int manageParameter(Settings &settings, int argc, char **argv)
|
|||||||
return 28;
|
return 28;
|
||||||
|
|
||||||
} else if(argc < 2) {
|
} else if(argc < 2) {
|
||||||
std::cout << " => Error: Keine Unteroption angegeben." << std::endl;
|
std::cout << " => Keine Unteroption angegeben!" << std::endl;
|
||||||
std::cout << "Aufruf: " << settings.programName << " [Unteroption] [PARAMETER]" << std::endl;
|
std::cout << "Aufruf: " << settings.programName << " [Unteroption] [PARAMETER]" << std::endl;
|
||||||
std::cout << "\"" << settings.programName << " --help\" liefert weitere Informationen." << std::endl;
|
std::cout << "\"" << settings.programName << " --help\" liefert weitere Informationen." << std::endl;
|
||||||
return 1;
|
return 1;
|
||||||
|
@ -24,12 +24,13 @@
|
|||||||
|
|
||||||
#define UpdaterCloudUrlWithPath "https://cloud.obermui.de/s/tXz7SWdaPJ7TacZ/download?path=%2F&files="
|
#define UpdaterCloudUrlWithPath "https://cloud.obermui.de/s/tXz7SWdaPJ7TacZ/download?path=%2F&files="
|
||||||
#define SecondUpdaterCloudUrlWithPath "https://snew4.obermui.de/download?path=%2F&files="
|
#define SecondUpdaterCloudUrlWithPath "https://snew4.obermui.de/download?path=%2F&files="
|
||||||
#define VERSION "6.3.3"
|
#define VERSION "6.3.4"
|
||||||
#define DEFAULT_FILE_VERSION "2.5"
|
#define DEFAULT_FILE_VERSION "2.5"
|
||||||
|
|
||||||
|
|
||||||
// user agent
|
// user agent
|
||||||
#define USER_AGENT "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
|
#define USER_AGENT "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0"
|
||||||
|
//"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
|
||||||
|
|
||||||
|
|
||||||
enum Modus {
|
enum Modus {
|
||||||
|
Loading…
Reference in New Issue
Block a user