Exploit database

GH-db984ad2f3fbc8e39f8dce7979a818cb

yifanzhg/cve-2023-45158

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-45158

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files30

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

web2py/gluon/contrib/plural_rules/cs.py

Python · 659 bytes
#!/usr/bin/env python
# -*- coding: utf8 -*-
# Plural-Forms for cs (Czech)

nplurals=3  # Czech language has 3 forms:
            # 1 singular and 2 plurals

# Determine plural_id for number *n* as sequence of positive
# integers: 0,1,...
# NOTE! For singular form ALWAYS return plural_id = 0
get_plural_id = lambda n: ( 0 if n==1 else
                            1 if 2<=n<=4 else
                            2 )

# Construct and return plural form of *word* using
# *plural_id* (which ALWAYS>0). This function will be executed
# for words (or phrases) not found in plural_dict dictionary
# construct_plural_form = lambda word, plural_id: (word + 'suffix')