1
0
mirror of https://github.com/Daichimarukana/uwuzu.git synced 2026-06-04 19:14:41 +00:00

uwuzu v1.4.10 Funium

This commit is contained in:
Daichimarukana
2024-12-27 18:11:13 +09:00
commit b6069366d1
495 changed files with 70483 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
window.onload = function () {
var url = new URL(window.location.href);
var ele = document.getElementsByTagName("body")[0];
var n = Math.floor(Math.random() * 3); // 3枚の画像がある場合
ele.style.backgroundImage = "url(" + url.protocol + "//" + url.hostname + "/img/titleimg/" + n + ".png)";
}
+29
View File
@@ -0,0 +1,29 @@
/*-----Console Notice-----*/
const sesstoken_reset_url = location.protocol+"//"+location.hostname+"/others/";
console.log(
"%c警告!!!%c\n\nもし誰かにここに%cコピペ%cしろと言われたりCookieというものをコピーしろなどと言われているのであればその行為は%c今すぐやめて%cください。",
"color:white; background-color:#FF4848; padding:4px; border-radius:4px; font-weight: bold; font-size: 24pt",
"",
"color:#FF4848; font-size: 16pt; font-weight: bold;",
"",
"color:#FF4848; font-size: 16pt; font-weight: bold;",
"",
);
console.log(
"ここに何かを貼り付けてしまうと%c悪意のあるユーザー%cにより%cあなたのアカウントが乗っ取られる%c可能性が大いにあります。",
"color:#FF4848; font-weight: bold;",
"",
"color:#FF4848; font-weight: bold;",
"",
);
console.log(
"自分で意図して行っていないのであれば%c今直ぐにこのツールを閉じて作業を中断してください。%c\n中断後、安全性の観点からセッショントークンの再生成をすることを強く推奨します。\nセッショントークンの再生性は以下のリンクより行えます。\n"+sesstoken_reset_url,
"color:#FF4848; font-weight: bold;",
"",
);
console.log(
"%cMessage by uwuzu%c\n\nこのメッセージはuwuzu開発者であるだいちまるによって書き込まれたものです。\nuwuzuサーバー運営者及びuwuzu開発者がCookie情報等を要求することはありません。",
"color:white; background-color:#FFC832; padding:4px; border-radius:4px; font-weight: bold; font-size: 10pt",
"",
);
+2
View File
File diff suppressed because one or more lines are too long
+41
View File
@@ -0,0 +1,41 @@
$(document).on('click', '.mini_irobtn', function (event) {
event.preventDefault();
mother = $(this).parent();
mother2 = $(mother).parent();
$(mother2).next('.nsfw_main').children().removeClass('block');
$(mother2).next('.nsfw_main').children().addClass('clear');
$(mother2).next('.nsfw_main').removeClass('nsfw_main');
$(mother2).hide();
});
$(document).on('click', '#ueuse_image', function (event) {
var imgLink = $(this).attr('src');
var modal = $('#Big_ImageModal');
var modalMain = $('.modal-content');
var modalimg_zone = $('#Big_ImageMain');
$(modalimg_zone).attr('src',imgLink);
modal.show();
modalMain.addClass("slideUp");
modalMain.removeClass("slideDown");
modal.on('click', function() {
modalMain.removeClass("slideUp");
modalMain.addClass("slideDown");
window.setTimeout(function(){
modal.hide();
}, 150);
});
});
function view_notify(notify){
$("#notify").children("p").text(notify);
$("#notify").show();
setTimeout(function(){
$("#notify").hide();
}, 10000);
}
+119
View File
@@ -0,0 +1,119 @@
/*-----Access Check-----*/
const ua = window.navigator.userAgent;
/*browser*/
if (ua.indexOf('Edge') != -1 || ua.indexOf('Edg') != -1) {
user_agent_browser = 'Microsoft_Edge';
} else if (ua.indexOf('Trident') != -1 || ua.indexOf('MSIE') != -1) {
user_agent_browser = 'Microsoft_Internet_Explorer';
} else if (ua.indexOf('OPR') != -1 || ua.indexOf('Opera') != -1) {
user_agent_browser = 'Opera';
} else if (ua.indexOf('Chrome') != -1) {
user_agent_browser = 'Google_Chrome';
} else if (ua.indexOf('Firefox') != -1) {
user_agent_browser = 'FireFox';
} else if (ua.indexOf('Safari') != -1) {
user_agent_browser = 'Safari';
} else if (ua.indexOf('NintendoBrowser') != -1) {
user_agent_browser = 'NintendoBrowser';
} else {
user_agent_browser = 'Other';
}
/*OS*/
const ua2 = ua.toLowerCase();
if (ua2.indexOf("windows nt") !== -1) {
user_agent_os = "Microsoft_Windows_NT";
} else if (ua.indexOf("Android") !== -1) {
user_agent_os = "Android";
} else if (ua.indexOf("iPhone") !== -1) {
ua.match(/iPhone OS (\w+){1,4}/g);
var iosv = (RegExp.$1.replace(/_/g, '.')).slice(0, 4);
if (iosv >= 6.0) {
user_agent_os = "iOS_6_Over";
} else {
user_agent_os = "iOS_6_Under";
}
} else if (ua.match(/Linux/)) {
user_agent_os = "Linux";
} else if (ua.indexOf("ipad") !== -1 || ua.indexOf("Mac OS X") !== -1 && typeof document.ontouchstart !== 'undefined') {
user_agent_os = "iPad";
} else if (ua.indexOf("Mac OS X") !== -1) {
user_agent_os = "mac_OS";
} else if (ua.match(/^.*\s([A-Za-z]+BSD)/)) {
user_agent_os = RegExp.$1;
} else if (ua.match(/SunOS/)) {
user_agent_os = "Solaris";
} else if (ua.match("Nintendo Wii")) {
user_agent_os = "Nintendo_Wii";
} else if (ua.match("PlayStation 4")) {
user_agent_os = "SONY_PS4";
} else if (ua.match("PlayStation 5")) {
user_agent_os = "SONY_PS5";
} else if (ua.match("PlayStation Vita")) {
user_agent_os = "SONY_PSVita";
} else if (ua.match("Nintendo Switch")) {
user_agent_os = "Nintendo_Switch";
} else if (ua.match("Windows Phone")) {
user_agent_os = "Windows_Phone";
} else {
user_agent_os = 'Other';
}
/*SSL*/
if (location.protocol == 'http:') {
if (location.hostname == 'localhost') {
user_agent_ssl = "not_ssl";
} else {
user_agent_ssl = "not_ssl_bad";
}
} else if (location.protocol == 'https:') {
user_agent_ssl = "ssl";
} else {
user_agent_ssl = "Other";
}
/*Cookie*/
if (navigator.cookieEnabled) {
user_agent_cookie = 'cookie_on';
} else {
user_agent_cookie = 'cookie_off';
}
/*Main Access check*/
if (user_agent_browser == 'Microsoft_Internet_Explorer' || user_agent_browser == 'NintendoBrowser') {
user_agent_access = 'bad';
errcode = 'UNSUPPORTED_BROWSER';
} else if (user_agent_os == 'Nintendo_Wii' || user_agent_os == 'SONY_PSVita' || user_agent_os == 'Nintendo_Switch' || user_agent_os == 'Windows_Phone' || user_agent_os == 'iOS_6_Under') {
user_agent_access = 'bad';
errcode = 'UNSUPPORTED_OS';
} else if (user_agent_cookie == 'cookie_off') {
user_agent_access = 'bad';
errcode = 'PLEASE_COOKIE_ON';
} else if (user_agent_ssl == 'Other') {
user_agent_access = 'bad';
errcode = 'NONE_SSL';
} else if (user_agent_ssl == 'not_ssl_bad') {
user_agent_access = 'bad';
errcode = 'NONE_SSL_SERVER';
} else {
user_agent_access = 'ok';
errcode = 'NONE_ERROR';
}
/*
console.log('browser : '+user_agent_browser);
console.log('cookie : '+user_agent_cookie);
console.log('os : '+user_agent_os);
console.log('ssl : '+user_agent_ssl);
console.log('access : '+user_agent_access);
console.log('errorcode : '+errcode);
*/
if (user_agent_access == 'bad') {
setTimeout(link(), 0);
function link() {
location.href = "../unsupported.php?errcode=" + errcode + "&browser=" + user_agent_browser + "&os=" + user_agent_os + "&cookie=" + user_agent_cookie + "&ssl=" + user_agent_ssl + ""
}
}
+28
View File
File diff suppressed because one or more lines are too long