T.ME/BIBIL_0DAY
CasperSecurity


Server : Apache/2
System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64
User : gositeme ( 1004)
PHP Version : 8.2.29
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Directory :  /home/gositeme/domains/lavocat.quebec/public_html/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/gositeme/domains/lavocat.quebec/public_html/scripts/stuff-superadmin-profile.js
const { PrismaClient } = require('@prisma/client');

const prisma = new PrismaClient();

async function main() {
  const email = 'dannywperez@msn.com';
  const username = 'danny-perez';

  // Deep About Me and Bordeaux Case info
  const bio = `Class Action Representative, Founder, and Legal Advocate\n\nAfter experiencing the harsh realities of Bordeaux Prison firsthand, I became a voice for justice and reform. Detained at Montréal's Bordeaux Detention Facility from March to October 2023, I was systematically denied my legal right to one hour of daily outdoor time—a fundamental human right guaranteed by Quebec law and international treaties.\n\nIsolated, without legal representation or external support, I witnessed and endured inhumane conditions, overcrowding, lack of healthcare, and systemic rights violations. My experience was not unique: countless others suffered the same fate, deprived of dignity and basic freedoms.\n\nRefusing to remain silent, I founded Liberté Même en Prison and became the lead representative in the historic class action: Perez c. Procureur général du Québec (500-06-001298-245). This case seeks justice for all individuals incarcerated at Bordeaux Prison who were denied their right to at least one hour per day of outdoor exercise in the open air, from January 1, 2022, until judgment.\n\nMy mission is to expose systemic abuses, empower the voiceless, and drive meaningful reform in Quebec's prison system. I work tirelessly with legal teams, advocates, and affected families to ensure that every detainee's rights are recognized and protected.\n\nIf you or someone you know was detained at Bordeaux Prison during this period and denied outdoor time, you may be eligible to join this class action. Together, we can transform suffering into justice and build a more humane future for all.`;

  const about = `Bordeaux Prison Class Action (2024 QCCS 4539)\n\n- Case Name: Perez c. Procureur général du Québec (500-06-001298-245)\n- Eligibility: Anyone detained at Montréal (Bordeaux) Detention Facility from January 1, 2022, to the final judgment, who was denied their legal right to one hour per day of outdoor exercise (except for disciplinary isolation or outdoor labor).\n- Goal: To obtain justice, compensation, and systemic reform for all affected detainees.\n- Background: The case addresses widespread, systematic violations of fundamental rights at Bordeaux Prison, including deprivation of outdoor time, overcrowding, and lack of access to healthcare.\n- Mission: To expose abuses, empower survivors, and ensure that Quebec's prison system upholds the dignity and rights of every individual.`;

  // Update the user
  const user = await prisma.user.findUnique({ where: { email } });
  if (!user) {
    console.error('❌ User not found for email:', email);
    process.exit(1);
  }

  // If user is already superadmin/admin, keep those, but set visible role to JURIST
  const updated = await prisma.user.update({
    where: { email },
    data: {
      username,
      isProfilePublic: true,
      role: 'JURIST',
      bio,
      about,
    },
  });

  console.log('✅ Updated user:', updated.email);
  console.log('  - Username:', updated.username);
  console.log('  - Role:', updated.role);
  console.log('  - isProfilePublic:', updated.isProfilePublic);
  console.log('  - Bio/About updated.');
  console.log('You can now access your public profile at /profile/' + username);
}

main().catch(e => {
  console.error(e);
  process.exit(1);
}).finally(async () => {
  await prisma.$disconnect();
}); 

CasperSecurity Mini