text stringlengths 1 2.83M | id stringlengths 16 152 | metadata dict | __index_level_0__ int64 0 949 |
|---|---|---|---|
export * from './types'
export * from './useActiveApp'
export * from './useFileRouteReplace'
export * from './useRoute'
export * from './useRouteName'
export * from './useRouteMeta'
export * from './useRouteParam'
export * from './useRouteQuery'
export * from './useRouteQueryPersisted'
export * from './useRouter'
expor... | owncloud/web/packages/web-pkg/src/composables/router/index.ts/0 | {
"file_path": "owncloud/web/packages/web-pkg/src/composables/router/index.ts",
"repo_id": "owncloud",
"token_count": 111
} | 851 |
import { computed, unref } from 'vue'
import { SearchResult } from '../../components'
import { DavProperties } from '@ownclouders/web-client/src/webdav'
import { urlJoin } from '@ownclouders/web-client/src/utils'
import { useClientService } from '../clientService'
import { isProjectSpaceResource } from '@ownclouders/we... | owncloud/web/packages/web-pkg/src/composables/search/useSearch.ts/0 | {
"file_path": "owncloud/web/packages/web-pkg/src/composables/search/useSearch.ts",
"repo_id": "owncloud",
"token_count": 784
} | 852 |
import { useGettext } from 'vue3-gettext'
export const useSpaceHelpers = () => {
const { $gettext } = useGettext()
const checkSpaceNameModalInput = (name: string, setError: (value: string) => void) => {
if (name.trim() === '') {
return setError($gettext('Space name cannot be empty'))
}
if (name.... | owncloud/web/packages/web-pkg/src/composables/spaces/useSpaceHelpers.ts/0 | {
"file_path": "owncloud/web/packages/web-pkg/src/composables/spaces/useSpaceHelpers.ts",
"repo_id": "owncloud",
"token_count": 251
} | 853 |
import { DateTime } from 'luxon'
import { getLocaleFromLanguage } from './locale'
export const formatDateFromDateTime = (
date: DateTime,
currentLanguage: string,
format = DateTime.DATETIME_MED
) => {
return date.setLocale(getLocaleFromLanguage(currentLanguage)).toLocaleString(format)
}
export const formatDate... | owncloud/web/packages/web-pkg/src/helpers/datetime.ts/0 | {
"file_path": "owncloud/web/packages/web-pkg/src/helpers/datetime.ts",
"repo_id": "owncloud",
"token_count": 589
} | 854 |
export type IconFillType = 'fill' | 'line' | 'none'
export type IconType = {
name: string
color?: string
fillType?: IconFillType
}
export type ResourceIconMapping = Record<'mimeType' | 'extension', Record<string, IconType>>
export const resourceIconMappingInjectionKey = 'oc-resource-icon-mapping'
const fileIcon... | owncloud/web/packages/web-pkg/src/helpers/resource/icon.ts/0 | {
"file_path": "owncloud/web/packages/web-pkg/src/helpers/resource/icon.ts",
"repo_id": "owncloud",
"token_count": 2466
} | 855 |
import axios, { AxiosInstance, AxiosRequestConfig, AxiosResponse, CancelTokenSource } from 'axios'
import merge from 'lodash-es/merge'
import { z } from 'zod'
export type RequestConfig<D, S> = AxiosRequestConfig<D> & {
schema?: S extends z.Schema ? S : never
}
export class HttpClient {
private readonly instance: A... | owncloud/web/packages/web-pkg/src/http/client.ts/0 | {
"file_path": "owncloud/web/packages/web-pkg/src/http/client.ts",
"repo_id": "owncloud",
"token_count": 1345
} | 856 |
export interface AuthParameters {
accessToken?: string
publicLinkToken?: string
publicLinkPassword?: string
}
export class Auth {
accessToken?: string
publicLinkToken?: string
publicLinkPassword?: string
constructor(params: AuthParameters = {}) {
this.accessToken = params.accessToken
this.public... | owncloud/web/packages/web-pkg/src/services/client/auth.ts/0 | {
"file_path": "owncloud/web/packages/web-pkg/src/services/client/auth.ts",
"repo_id": "owncloud",
"token_count": 274
} | 857 |
export * from './types'
| owncloud/web/packages/web-pkg/src/ui/index.ts/0 | {
"file_path": "owncloud/web/packages/web-pkg/src/ui/index.ts",
"repo_id": "owncloud",
"token_count": 8
} | 858 |
import { PartialComponentProps, defaultPlugins, mount } from 'web-test-helpers'
import { mock } from 'vitest-mock-extended'
import { Resource } from '@ownclouders/web-client/src/helpers'
import BatchActions from '../../../src/components/BatchActions.vue'
import { Action, ActionMenuItem } from '../../../src'
const sele... | owncloud/web/packages/web-pkg/tests/unit/components/BatchActions.spec.ts/0 | {
"file_path": "owncloud/web/packages/web-pkg/tests/unit/components/BatchActions.spec.ts",
"repo_id": "owncloud",
"token_count": 759
} | 859 |
import { useRouteQuery } from '../../../src/composables/router/useRouteQuery'
import SearchBarFilter from '../../../src/components/SearchBarFilter.vue'
import { defaultComponentMocks, defaultPlugins, shallowMount } from 'web-test-helpers'
import { OcFilterChip } from 'design-system/src/components'
vi.mock('../../../sr... | owncloud/web/packages/web-pkg/tests/unit/components/SearchBarFilter.spec.ts/0 | {
"file_path": "owncloud/web/packages/web-pkg/tests/unit/components/SearchBarFilter.spec.ts",
"repo_id": "owncloud",
"token_count": 630
} | 860 |
import { mock } from 'vitest-mock-extended'
import { unref } from 'vue'
import { useFileActionsEnableSync } from '../../../../../src/composables/actions/files/useFileActionsEnableSync'
import { IncomingShareResource } from '@ownclouders/web-client/src/helpers/share'
import { defaultComponentMocks, getComposableWrapper,... | owncloud/web/packages/web-pkg/tests/unit/composables/actions/files/useFileActionsAcceptShare.spec.ts/0 | {
"file_path": "owncloud/web/packages/web-pkg/tests/unit/composables/actions/files/useFileActionsAcceptShare.spec.ts",
"repo_id": "owncloud",
"token_count": 905
} | 861 |
import { SideBarEventTopics, eventBus, useFileActionsShowDetails } from '../../../../../src'
import { defaultComponentMocks, getComposableWrapper } from 'web-test-helpers'
import { unref } from 'vue'
import { Resource } from '@ownclouders/web-client'
describe('showDetails', () => {
describe('handler', () => {
it... | owncloud/web/packages/web-pkg/tests/unit/composables/actions/files/useFileActionsShowDetails.spec.ts/0 | {
"file_path": "owncloud/web/packages/web-pkg/tests/unit/composables/actions/files/useFileActionsShowDetails.spec.ts",
"repo_id": "owncloud",
"token_count": 332
} | 862 |
import { useEmbedMode } from '../../../../src/composables/embedMode'
import { defaultComponentMocks, getComposableWrapper } from 'web-test-helpers'
import { unref } from 'vue'
describe('useEmbedMode', () => {
describe('isEnabled', () => {
it('when embed mode is disabled should return false', () => {
getCom... | owncloud/web/packages/web-pkg/tests/unit/composables/embedMode/useEmbedMode.spec.ts/0 | {
"file_path": "owncloud/web/packages/web-pkg/tests/unit/composables/embedMode/useEmbedMode.spec.ts",
"repo_id": "owncloud",
"token_count": 2358
} | 863 |
import { EventBus } from '../../../../src/services/eventBus'
import { SideBarEventTopics, useSideBar } from '../../../../src/composables/sideBar'
import { unref, ref } from 'vue'
import { getComposableWrapper } from 'web-test-helpers'
vi.mock('../../../../src/composables/localStorage', async (importOriginal) => ({
u... | owncloud/web/packages/web-pkg/tests/unit/composables/sideBar/useSideBar.spec.ts/0 | {
"file_path": "owncloud/web/packages/web-pkg/tests/unit/composables/sideBar/useSideBar.spec.ts",
"repo_id": "owncloud",
"token_count": 1750
} | 864 |
import { Resource } from '@ownclouders/web-client/src'
import { isResourceTxtFileAlmostEmpty } from '../../../../src/helpers/resource'
describe('isResourceTxtFileAlmostEmpty', () => {
it('return true for resources smaller 30 bytes', () => {
expect(isResourceTxtFileAlmostEmpty({ mimeType: 'text/plain', size: 20 }... | owncloud/web/packages/web-pkg/tests/unit/helpers/resource/isResourceTxtFileAlmostEmpty.ts/0 | {
"file_path": "owncloud/web/packages/web-pkg/tests/unit/helpers/resource/isResourceTxtFileAlmostEmpty.ts",
"repo_id": "owncloud",
"token_count": 304
} | 865 |
import { objectKeys } from '../../../src/utils'
describe('objectKeys', () => {
it('should return the correct keys', () => {
expect(
objectKeys({
foo1: { bar1: { baz1: 1, baz2: 1 }, bar2: { baz1: 1, baz2: 1 }, bar3: 1 },
foo2: 1
})
).toMatchObject([
'foo1.bar1.baz1',
'f... | owncloud/web/packages/web-pkg/tests/unit/utils/objectKeys.spec.ts/0 | {
"file_path": "owncloud/web/packages/web-pkg/tests/unit/utils/objectKeys.spec.ts",
"repo_id": "owncloud",
"token_count": 232
} | 866 |
<template>
<li class="oc-sidebar-nav-item oc-pb-xs oc-px-s" :aria-current="active ? 'page' : null">
<oc-button
v-oc-tooltip="toolTip"
:type="handler ? 'button' : 'router-link'"
:appearance="active ? 'raw-inverse' : 'raw'"
:variation="active ? 'primary' : 'passive'"
:class="['oc-sideb... | owncloud/web/packages/web-runtime/src/components/SidebarNav/SidebarNavItem.vue/0 | {
"file_path": "owncloud/web/packages/web-runtime/src/components/SidebarNav/SidebarNavItem.vue",
"repo_id": "owncloud",
"token_count": 1351
} | 867 |
import { useTask } from 'vue-concurrency'
import convert from 'xml-js'
import { useClientService, useAuthStore, AuthStore } from '@ownclouders/web-pkg'
import { ClientService } from '@ownclouders/web-pkg'
import { urlJoin } from '@ownclouders/web-client/src/utils'
export interface LoadTokenInfoOptions {
clientServic... | owncloud/web/packages/web-runtime/src/composables/tokenInfo/useLoadTokenInfo.ts/0 | {
"file_path": "owncloud/web/packages/web-runtime/src/composables/tokenInfo/useLoadTokenInfo.ts",
"repo_id": "owncloud",
"token_count": 585
} | 868 |
import { AppNavigationItem, ExtensionRegistry, SidebarNavExtension } from '@ownclouders/web-pkg'
export interface NavItem extends Omit<AppNavigationItem, 'name'> {
name: string
active: boolean
}
export const getExtensionNavItems = ({
extensionRegistry,
appId
}: {
extensionRegistry: ExtensionRegistry
appId... | owncloud/web/packages/web-runtime/src/helpers/navItems.ts/0 | {
"file_path": "owncloud/web/packages/web-runtime/src/helpers/navItems.ts",
"repo_id": "owncloud",
"token_count": 182
} | 869 |
<template>
<div
class="oc-link-resolve oc-height-viewport oc-flex oc-flex-column oc-flex-center oc-flex-middle"
>
<div class="oc-card oc-text-center oc-width-large">
<template v-if="loading">
<div class="oc-card-header">
<h2 key="private-link-loading" class="oc-link-resolve-loading">... | owncloud/web/packages/web-runtime/src/pages/resolvePrivateLink.vue/0 | {
"file_path": "owncloud/web/packages/web-runtime/src/pages/resolvePrivateLink.vue",
"repo_id": "owncloud",
"token_count": 3024
} | 870 |
import { useMessages } from '@ownclouders/web-pkg'
import { OcNotificationMessage } from 'design-system/src/components'
import MessageBar from 'web-runtime/src/components/MessageBar.vue'
import { defaultPlugins, shallowMount } from 'web-test-helpers'
const messages = [
{
id: '101',
title: 'Error while moving... | owncloud/web/packages/web-runtime/tests/unit/components/MessageBar.spec.ts/0 | {
"file_path": "owncloud/web/packages/web-runtime/tests/unit/components/MessageBar.spec.ts",
"repo_id": "owncloud",
"token_count": 917
} | 871 |
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`ApplicationsMenu component > should render navigation with button and menu items in dropdown 1`] = `
"<nav data-v-33cec29f="" id="applications-menu" aria-label="Main navigation" class="oc-flex oc-flex-middle">
<oc-button-stub data-v-33cec29f="" t... | owncloud/web/packages/web-runtime/tests/unit/components/Topbar/__snapshots__/ApplicationsMenu.spec.ts.snap/0 | {
"file_path": "owncloud/web/packages/web-runtime/tests/unit/components/Topbar/__snapshots__/ApplicationsMenu.spec.ts.snap",
"repo_id": "owncloud",
"token_count": 828
} | 872 |
import resolvePrivateLink from '../../../src/pages/resolvePrivateLink.vue'
import {
defaultPlugins,
defaultComponentMocks,
shallowMount,
mockAxiosResolve
} from 'web-test-helpers'
import { mock } from 'vitest-mock-extended'
import { queryItemAsString, useGetResourceContext } from '@ownclouders/web-pkg'
import {... | owncloud/web/packages/web-runtime/tests/unit/pages/resolvePrivateLink.spec.ts/0 | {
"file_path": "owncloud/web/packages/web-runtime/tests/unit/pages/resolvePrivateLink.spec.ts",
"repo_id": "owncloud",
"token_count": 2736
} | 873 |
import { mock, mockDeep } from 'vitest-mock-extended'
import {
ClientService,
LoadingService,
LoadingTaskCallbackArguments,
PasswordPolicyService,
PreviewService,
UppyService
} from '../../../web-pkg/src/'
import { Router, RouteLocationNormalizedLoaded, RouteLocationRaw } from 'vue-router'
import { ref } fr... | owncloud/web/packages/web-test-helpers/src/mocks/defaultComponentMocks.ts/0 | {
"file_path": "owncloud/web/packages/web-test-helpers/src/mocks/defaultComponentMocks.ts",
"repo_id": "owncloud",
"token_count": 410
} | 874 |
// from https://github.com/nightwatchjs/nightwatch/issues/1132#issuecomment-340257894
// and adjusted a bit
// because calling "clearValue()" does not trigger Vue events when using v-model
/**
* A better `clearValue` for inputs having a more complex interaction.
*
* @export
* @param {string} selector
* @returns
*... | owncloud/web/tests/acceptance/customCommands/clearValueWithEvent.js/0 | {
"file_path": "owncloud/web/tests/acceptance/customCommands/clearValueWithEvent.js",
"repo_id": "owncloud",
"token_count": 223
} | 875 |
Feature: create folder
As a user
I want to create folders
So that I can organise my data structure
Background:
Given user "Alice" has been created with default attributes and without skeleton files in the server
And user "Alice" has logged in using the webUI
And the user has reloaded the current pa... | owncloud/web/tests/acceptance/features/webUICreateFilesFolders/createFolderEdgeCases.feature/0 | {
"file_path": "owncloud/web/tests/acceptance/features/webUICreateFilesFolders/createFolderEdgeCases.feature",
"repo_id": "owncloud",
"token_count": 1040
} | 876 |
Feature: Sharing files and folders with internal users
As a user
I want to share files and folders with other users
So that those users can access the files and folders
Background:
Given the administrator has set the default folder for received shares to "Shares" in the server
And these users have been... | owncloud/web/tests/acceptance/features/webUISharingInternalUsers/shareWithUsers.feature/0 | {
"file_path": "owncloud/web/tests/acceptance/features/webUISharingInternalUsers/shareWithUsers.feature",
"repo_id": "owncloud",
"token_count": 424
} | 877 |
const { client } = require('nightwatch-api')
function cleanupLogMessage(message) {
return message.replace(/\\u003C/gi, '').replace(/\\n/g, '\n') // revive newlines
}
function formatLog(log) {
return (
new Date(log.timestamp).toLocaleTimeString() +
' - ' +
log.level +
' - ' +
cleanupLogMessage(... | owncloud/web/tests/acceptance/helpers/browserConsole.js/0 | {
"file_path": "owncloud/web/tests/acceptance/helpers/browserConsole.js",
"repo_id": "owncloud",
"token_count": 272
} | 878 |
const util = require('util')
const timeoutHelper = require('../../../helpers/timeoutHelper')
const { client } = require('nightwatch-api')
module.exports = {
commands: {
/**
* @param {string} collaborator
* @returns {Promise.<string[]>} Array of autocomplete webElementIds
*/
deleteShareWithUser... | owncloud/web/tests/acceptance/pageObjects/FilesPageElement/SharingDialog/collaboratorsDialog.js/0 | {
"file_path": "owncloud/web/tests/acceptance/pageObjects/FilesPageElement/SharingDialog/collaboratorsDialog.js",
"repo_id": "owncloud",
"token_count": 4917
} | 879 |
const { join } = require('../helpers/path')
module.exports = {
url: function () {
return join(this.api.launchUrl, '/access-denied')
},
elements: {
body: 'body',
loginErrorMessage: {
locateStrategy: 'xpath',
selector: '//h2[text()="Not logged in"]'
},
exitButton: {
selector: ... | owncloud/web/tests/acceptance/pageObjects/loginErrorPage.js/0 | {
"file_path": "owncloud/web/tests/acceptance/pageObjects/loginErrorPage.js",
"repo_id": "owncloud",
"token_count": 271
} | 880 |
const { setDefaultTimeout, After, Before, defineParameterType } = require('@cucumber/cucumber')
const {
createSession,
closeSession,
client,
startWebDriver,
stopWebDriver
} = require('nightwatch-api')
const fs = require('fs')
const { rollbackConfigs, cacheConfigs } = require('./helpers/config')
const { getAll... | owncloud/web/tests/acceptance/setup.js/0 | {
"file_path": "owncloud/web/tests/acceptance/setup.js",
"repo_id": "owncloud",
"token_count": 1128
} | 881 |
Feature: spaces management
Scenario: spaces can be managed in the admin settings via the context menu
Given "Admin" creates following users using API
| id |
| Alice |
| Brian |
And "Admin" assigns following roles to the users using API
| id | role |
| Alice | Space ... | owncloud/web/tests/e2e/cucumber/features/admin-settings/spaces.feature/0 | {
"file_path": "owncloud/web/tests/e2e/cucumber/features/admin-settings/spaces.feature",
"repo_id": "owncloud",
"token_count": 2355
} | 882 |
Feature: create Space shortcut
Scenario: create Space from folder
Given "Admin" creates following users using API
| id |
| Alice |
And "Admin" assigns following roles to the users using API
| id | role |
| Alice | Space Admin |
And "Alice" logs in
And "Alice" crea... | owncloud/web/tests/e2e/cucumber/features/smoke/createSpaceFromSelection.feature/0 | {
"file_path": "owncloud/web/tests/e2e/cucumber/features/smoke/createSpaceFromSelection.feature",
"repo_id": "owncloud",
"token_count": 896
} | 883 |
Feature: internal link share in project space
Scenario: share a link with internal role
Given "Admin" creates following users using API
| id |
| Alice |
| Brian |
| Carol |
And "Admin" assigns following roles to the users using API
| id | role |
| Alice | Spac... | owncloud/web/tests/e2e/cucumber/features/spaces/internalLink.feature/0 | {
"file_path": "owncloud/web/tests/e2e/cucumber/features/spaces/internalLink.feature",
"repo_id": "owncloud",
"token_count": 764
} | 884 |
import { DataTable, When, Then } from '@cucumber/cucumber'
import path from 'path'
import { World } from '../../environment'
import { objects } from '../../../support'
import { expect } from '@playwright/test'
import { config } from '../../../config'
import {
createResourceTypes,
displayedResourceType,
shortcutTy... | owncloud/web/tests/e2e/cucumber/steps/ui/resources.ts/0 | {
"file_path": "owncloud/web/tests/e2e/cucumber/steps/ui/resources.ts",
"repo_id": "owncloud",
"token_count": 9401
} | 885 |
export {
me,
createUser,
deleteUser,
createGroup,
deleteGroup,
addUserToGroup,
assignRole,
getUserId
} from './userManagement'
export {
getPersonalSpaceId,
createSpace,
getSpaceIdBySpaceName,
disableSpace,
deleteSpace
} from './spaces'
| owncloud/web/tests/e2e/support/api/graph/index.ts/0 | {
"file_path": "owncloud/web/tests/e2e/support/api/graph/index.ts",
"repo_id": "owncloud",
"token_count": 93
} | 886 |
import { kebabCase } from 'lodash'
import { DateTime } from 'luxon'
import { Actor } from '../../types'
import { ActorsOptions } from './shared'
import { ActorEnvironment } from './actor'
import { actorStore } from '../../store'
import EventEmitter from 'events'
export class ActorsEnvironment extends EventEmitter {
... | owncloud/web/tests/e2e/support/environment/actor/actors.ts/0 | {
"file_path": "owncloud/web/tests/e2e/support/environment/actor/actors.ts",
"repo_id": "owncloud",
"token_count": 482
} | 887 |
export * as page from './page'
export { Spaces } from './spaces'
export { Users } from './users'
export { General } from './general'
export { Groups } from './groups'
| owncloud/web/tests/e2e/support/objects/app-admin-settings/index.ts/0 | {
"file_path": "owncloud/web/tests/e2e/support/objects/app-admin-settings/index.ts",
"repo_id": "owncloud",
"token_count": 51
} | 888 |
import { Page } from '@playwright/test'
const sharesNavSelector = '//a[@data-nav-name="files-shares"]'
export class WithOthers {
#page: Page
constructor({ page }: { page: Page }) {
this.#page = page
}
async navigate(): Promise<void> {
await this.#page.locator(sharesNavSelector).click()
await thi... | owncloud/web/tests/e2e/support/objects/app-files/page/shares/withOthers.ts/0 | {
"file_path": "owncloud/web/tests/e2e/support/objects/app-files/page/shares/withOthers.ts",
"repo_id": "owncloud",
"token_count": 131
} | 889 |
import { Page } from '@playwright/test'
import util from 'util'
const spaceIdSelector = '//tr[@data-item-id="%s"]//a'
export interface openTrashBinArgs {
id: string
page: Page
}
export const openTrashbin = async (args: openTrashBinArgs): Promise<void> => {
const { id, page } = args
await page.locator(util.form... | owncloud/web/tests/e2e/support/objects/app-files/trashbin/actions.ts/0 | {
"file_path": "owncloud/web/tests/e2e/support/objects/app-files/trashbin/actions.ts",
"repo_id": "owncloud",
"token_count": 125
} | 890 |
export const userRoleStore = new Map<string, string>()
| owncloud/web/tests/e2e/support/store/role.ts/0 | {
"file_path": "owncloud/web/tests/e2e/support/store/role.ts",
"repo_id": "owncloud",
"token_count": 15
} | 891 |
{
"extends": "@ownclouders/tsconfig"
}
| owncloud/web/tsconfig.json/0 | {
"file_path": "owncloud/web/tsconfig.json",
"repo_id": "owncloud",
"token_count": 18
} | 892 |
<?php
/**
* Created by runner.han
* There is nothing new under the sun
*/
include_once "inc/config.inc.php";
$dbhost=DBHOST;
$dbuser=DBUSER;
$dbpw=DBPW;
$dbname=DBNAME;
$mes_connect='';
$mes1='';
$mes2='';
$mes_ok='';
if(isset($_POST['submit'])) {
//判断数据库连接
if (!@mysqli_connect($dbhost, $dbuser, $dbpw)) {
... | zhuifengshaonianhanlu/pikachu/pkxss/pkxss_install.php/0 | {
"file_path": "zhuifengshaonianhanlu/pikachu/pkxss/pkxss_install.php",
"repo_id": "zhuifengshaonianhanlu",
"token_count": 2334
} | 893 |
<?php
/**
* Created by runner.han
* There is nothing new under the sun
*/
$PIKA_ROOT_DIR = "../../";
include_once $PIKA_ROOT_DIR.'inc/config.inc.php';
include_once $PIKA_ROOT_DIR.'inc/mysql.inc.php';
$SELF_PAGE = substr($_SERVER['PHP_SELF'],strrpos($_SERVER['PHP_SELF'],'/')+1);
if ($SELF_PAGE = "bf_client.php"){
... | zhuifengshaonianhanlu/pikachu/vul/burteforce/bf_client.php/0 | {
"file_path": "zhuifengshaonianhanlu/pikachu/vul/burteforce/bf_client.php",
"repo_id": "zhuifengshaonianhanlu",
"token_count": 2922
} | 894 |
<?php
/**
* Created by runner.han
* There is nothing new under the sun
*
*/
$SELF_PAGE = substr($_SERVER['PHP_SELF'],strrpos($_SERVER['PHP_SELF'],'/')+1);
if ($SELF_PAGE = "dir.php"){
$ACTIVE = array('','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','... | zhuifengshaonianhanlu/pikachu/vul/dir/dir_list.php/0 | {
"file_path": "zhuifengshaonianhanlu/pikachu/vul/dir/dir_list.php",
"repo_id": "zhuifengshaonianhanlu",
"token_count": 1179
} | 895 |
<?php
/**
* Created by runner.han
* There is nothing new under the sun
*/
$SELF_PAGE = substr($_SERVER['PHP_SELF'],strrpos($_SERVER['PHP_SELF'],'/')+1);
if ($SELF_PAGE = "sqli_blind_t.php"){
$ACTIVE = array('','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','... | zhuifengshaonianhanlu/pikachu/vul/sqli/sqli_blind_t.php/0 | {
"file_path": "zhuifengshaonianhanlu/pikachu/vul/sqli/sqli_blind_t.php",
"repo_id": "zhuifengshaonianhanlu",
"token_count": 1517
} | 896 |
<?php
$html = <<<A
<br>
<pre>
假如生活欺骗了你
作者:普希金
假如生活欺骗了你,
不要悲伤,不要心急!
忧郁的日子里须要镇静:
相信吧,快乐的日子将会来临!
心儿永远向往着未来;
现在却常是忧郁。
一切都是瞬息,一切都将会过去;
而那过去了的,就会成为亲切的怀恋。
</pre>
A;
echo $html;
| zhuifengshaonianhanlu/pikachu/vul/ssrf/ssrf_info/info1.php/0 | {
"file_path": "zhuifengshaonianhanlu/pikachu/vul/ssrf/ssrf_info/info1.php",
"repo_id": "zhuifengshaonianhanlu",
"token_count": 269
} | 897 |
<?php
/**
* Created by runner.han
* There is nothing new under the sun
*/
$SELF_PAGE = substr($_SERVER['PHP_SELF'],strrpos($_SERVER['PHP_SELF'],'/')+1);
if ($SELF_PAGE = "unsafedownload.php"){
$ACTIVE = array('','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','',''... | zhuifengshaonianhanlu/pikachu/vul/unsafedownload/unsafedownload.php/0 | {
"file_path": "zhuifengshaonianhanlu/pikachu/vul/unsafedownload/unsafedownload.php",
"repo_id": "zhuifengshaonianhanlu",
"token_count": 1862
} | 898 |
<?php
/**
* Created by runner.han
* There is nothing new under the sun
*/
$SELF_PAGE = substr($_SERVER['PHP_SELF'],strrpos($_SERVER['PHP_SELF'],'/')+1);
if ($SELF_PAGE = "xss_dom.php"){
$ACTIVE = array('','','','','','','','active open','','','','','active','','','','','','','','','','','','','','','','','','... | zhuifengshaonianhanlu/pikachu/vul/xss/xss_dom_x.php/0 | {
"file_path": "zhuifengshaonianhanlu/pikachu/vul/xss/xss_dom_x.php",
"repo_id": "zhuifengshaonianhanlu",
"token_count": 1543
} | 899 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.